>Tomoneill |
|
Line 1: |
Line 1: |
| The purpose of the '''{{tld|mw}}''' template is to provide a convenient way to make links to the MediaWiki wiki that are followed by a MediaWiki logo to visually distinguish them from internal Powerpedia links.
| |
|
| |
|
| ==Parameters==
| |
| {| class=wikitable
| |
| ! Parameter !! Usage !! Notes
| |
| |- valign=top
| |
| | {{para|article}} || ''Required'': Enter the name of the article on the MediaWiki wiki to link to. || If unnamed, this parameter should be first.
| |
| |- valign=top
| |
| | {{para|label}} || ''Optional'': Enter the text you want displayed for the link text. || If unnamed, this parameter should be second.
| |
| |- valign=top
| |
| | {{para|anchor}} || ''Optional'': Enter a section name within the article to link to. || If unnamed, this should be third. You can alternately specify the article parameter as {{code|article#anchor}}.
| |
| |- valign=top
| |
| | {{para|nologo}} || ''Optional'': Supresses the MediaWiki logo from the link. || This parameter can be specified using {{para|nologo}} and any value or {{para|nologo}} without a value. {{para|nologo|yes}} or {{para|nologo|true}} are preferred, since that will be clearest to other editors, but {{para|nologo|no}} and {{para|nologo|except on Wednesdays}} would have the same effect.
| |
| |}
| |
|
| |
|
| |
|
| |
| ==See also==
| |
| * [[Template:W]] for links to Wikipedia.
| |
| * [[Help:Interwiki links]] and [[Breadcrumbs]] for information about linking across wikis that are in MediaWiki format.
| |
|
| |
| == Template data ==
| |
| {{TemplateData header}}
| |
| <templatedata> | | <templatedata> |
| { | | { |
| "params": { | | "params": { |
| "article": { | | "Article": { |
| "required": true | | "suggested": true |
| },
| |
| "label": {},
| |
| "nologo": {
| |
| "default": "no"
| |
| }, | | }, |
| "anchor": {} | | "Anchor": {}, |
| },
| | "Label": {}, |
| "paramOrder": [
| | "NoLogo": {} |
| "article",
| | } |
| "anchor", | |
| "label",
| |
| "nologo"
| |
| ] | |
| } | | } |
| </templatedata> | | </templatedata> |
|
| |
| <includeonly>
| |
|
| |
|
| |
|
| |
|
| |
|
| |
| </includeonly>
| |
|
| |
| [[Category:TemplateData documentation]]
| |