Template:Whitelink: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
(Created page with "<includeonly>{{#if: {{{2|}}} | [[{{{1}}}|<font color=white>{{{2}}}</font>]] | [[{{{1}}}|<font color=white>{{{1}}}</font>]] }}</includeonly><noinclude>Creates a link in white. ...")
 
(Template Data)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<includeonly>{{#if: {{{2|}}}
<includeonly>{{#if: {{{2|}}}
| [[{{{1}}}|<font color=white>{{{2}}}</font>]]
| [[{{{1|}}}|<font color=white>{{{2|}}}</font>]]
| [[{{{1}}}|<font color=white>{{{1}}}</font>]]
| [[{{{1|}}}|<font color=white>{{{1|}}}</font>]]
}}</includeonly><noinclude>Creates a link in white. Use the format:
}}</includeonly><noinclude>Creates a link in white. Use the format:
<pre>{{whitelink|Article's Original Name|Optional Name for the Link}}</pre>
<pre>{{whitelink|Article's Original Name|Optional Name for the Link}}</pre>
Line 15: Line 15:
|align=center|{{whitelink|DS17 Non-Playing Character Listing|DS17 NPCs}}
|align=center|{{whitelink|DS17 Non-Playing Character Listing|DS17 NPCs}}
|}
|}
{{Navbox|TITLE=Template Data|
<templatedata>
{
"params": {
"1": {
"label": "Link",
"description": "Article's Original Name",
"type": "wiki-page-name",
"required": true
},
"2": {
"label": "Name",
"description": "Optional Name for the Link",
"type": "line"
}
},
"description": "Creates a link in white",
"paramOrder": [
"1",
"2"
],
"format": "inline"
}
</templatedata>}}
[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Latest revision as of 20:42, 6 January 2024

Creates a link in white. Use the format:

{{whitelink|Article's Original Name|Optional Name for the Link}}

Examples

{{whitelink|Ship Histories}}
Ship Histories
{{whitelink|DS17 Non-Playing Character Listing|DS17 NPCs}}
DS17 NPCs


Template Data

Creates a link in white

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Link1

Article's Original Name

Page namerequired
Name2

Optional Name for the Link

Lineoptional