Template:W: Difference between revisions

From Celeste Wiki
Jump to navigation Jump to search
Content added Content deleted
m (1 revision imported: Importing general purpose templates)
(added template data)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly>[[Wikipedia:{{{1}}}|{{{2|{{{1}}}}}}]]</includeonly><noinclude>{{documentation}}</noinclude>
<includeonly>[[w:{{{1}}}|{{#if:{{{4|}}}||<span style="color:#477979 !important;" title="Wikipedia: {{{1}}}">}}{{#replace:{{#replace:{{#if: {{{2|}}}|{{{2}}}|{{{1}}}}}|_|<nowiki> </nowiki> <nowiki> </nowiki>}}|#|<nowiki> </nowiki> § <nowiki> </nowiki>}}</span>]]{{{3|}}}<sup>[[File:Wikipedia's W.svg|12px|link=|alt=Wikipedia]]</sup></includeonly><noinclude>{{documentation}}<!-- THIS PAGE IS ALSO LICENSED UNDER CC BY-SA 3.0. --><templatedata>
{
"params": {
"1": {
"aliases": [
"link"
],
"label": "Link",
"description": "The title of the page on Wikipedia",
"example": "Celeste (video game)",
"type": "string",
"required": true
},
"2": {
"aliases": [
"label"
],
"label": "Label",
"description": "How the text is displayed as opposed to what it links to",
"example": "Celeste",
"type": "string"
},
"4": {
"aliases": [
"blue"
],
"label": "Blue link?",
"description": "If this parameter is not empty, the link will appear the same colour as a normal link, rather than the usual greenish-grey colour for Wikipedia links."
}
}
}
</templatedata></noinclude>

Latest revision as of 18:25, 1 April 2024

No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Link1 link

The title of the page on Wikipedia

Example
Celeste (video game)
Stringrequired
Label2 label

How the text is displayed as opposed to what it links to

Example
Celeste
Stringoptional
Blue link?4 blue

If this parameter is not empty, the link will appear the same colour as a normal link, rather than the usual greenish-grey colour for Wikipedia links.

Unknownoptional