Template:SeeWikipedia: Difference between revisions
SimpleArrows (talk | contribs) No edit summary |
SimpleArrows (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{Banner|SeeWikipedia|caption_override=There is real world information on this subject on Wikipedia: '''[[Wikipedia:{{{1|{{PAGENAME}}}}}|{{{2|{{PAGENAME}}}}}]]'''.}}</includeonly><noinclude> | <includeonly>{{Banner|SeeWikipedia|caption_override=There is real world information on this subject on Wikipedia: '''[[Wikipedia:{{{1|{{PAGENAME}}}}}|{{{2|{{PAGENAME}}}}}]]'''.}}</includeonly><noinclude>[[Category:Banner Templates]] | ||
<templatedata> | |||
{ | |||
"params": { | |||
"1": { | |||
"label": "Wikipedia Page", | |||
"description": "The Wikipedia page that relates to the same subject as the current page.", | |||
"type": "wiki-page-name", | |||
"required": true, | |||
"example": "Volition (company)" | |||
}, | |||
"2": { | |||
"label": "Display Label", | |||
"description": "A display name of the linked Wikipedia page, usually a shortened version of the linked page or the name of the current page.", | |||
"example": "Volition", | |||
"type": "string", | |||
"suggested": true | |||
} | |||
}, | |||
"description": "Creates a banner at the top of the page to show that a subject has more info on Wikipedia.", | |||
"format": "inline" | |||
} | |||
</templatedata> | |||
<pre>{{SeeWikipedia|WIKIPEDIA_PAGE|DISPLAY_LABEL}}</pre> | |||
'''Usage:''' | |||
<pre>{{SeeWikipedia|Volition (company)|Volition}}</pre> | |||
'''Output:''' | |||
{{SeeWikipedia|Volition (company)|Volition}} | |||
'''Other Cases:''' | |||
</noinclude> | |||
When a page on the Red Faction Wiki has the '''same''' name as on Wikipedia, you can use the template without any parameters, for example: | |||
<pre>{{SeeWikipedia}}</pre> | |||
{{SeeWikipedia}} | |||
</pre></noinclude> |
Revision as of 04:25, 29 January 2024
Creates a banner at the top of the page to show that a subject has more info on Wikipedia.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Wikipedia Page | 1 | The Wikipedia page that relates to the same subject as the current page.
| Page name | required |
Display Label | 2 | A display name of the linked Wikipedia page, usually a shortened version of the linked page or the name of the current page.
| String | suggested |
{{SeeWikipedia|WIKIPEDIA_PAGE|DISPLAY_LABEL}}
Usage:
{{SeeWikipedia|Volition (company)|Volition}}
Output:
There is real world information on this subject on Wikipedia: Volition. |
Other Cases:
When a page on the Red Faction Wiki has the same name as on Wikipedia, you can use the template without any parameters, for example:
{{SeeWikipedia}}
There is real world information on this subject on Wikipedia: SeeWikipedia. |