Template:W: Difference between revisions

From the Kingdom Hearts Wiki, the Kingdom Hearts encyclopedia
Jump to navigationJump to search
No edit summary
mNo edit summary
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly>[[wikipedia:{{{1}}}|{{#if:{{{2|}}}]]<!--
<includeonly>[[wikipedia:{{{1|}}}|{{{2|{{{1|}}}}}}]]</includeonly><noinclude>
-->{{#if:{{{1|}}}|<!-- null -->|<!--
This template is used for linking to articles on {{w|Wikipedia}}.
--><span class="error small">Error &#123;&#123;[[Template:W|w]]&#125;&#125;: missing article name.</span><!--
-->}}</includeonly><noinclude>
This template is used for linking to articles on {{W|Wikipedia}}.


==Usage==
==Usage==
<nowiki>{{W|Article name|Piping text}}</nowiki>
<code><nowiki>{{w|Article name|Piping text}}</nowiki></code>


For example: <nowiki>{{W|Tron: Legacy|The 2010 sequel}}</nowiki> produces {{W|Tron: Legacy|The 2010 sequel}}.
For example: <code><nowiki>{{w|Tron: Legacy|The 2010 sequel}}</nowiki></code> produces {{w|Tron: Legacy|The 2010 sequel}}.
 
If the piping text is the same as the target Wikipedia article, just use <code><nowiki>{{w|Article name}}</nowiki></code>.
 
For example: <code><nowiki>{{w|Tron: Legacy}}</nowiki></code> produces {{w|Tron: Legacy}}.
 
[[Category:In-line templates]]</noinclude>

Latest revision as of 17:13, 2 June 2023

This template is used for linking to articles on Wikipedia.

Usage

{{w|Article name|Piping text}}

For example: {{w|Tron: Legacy|The 2010 sequel}} produces The 2010 sequel.

If the piping text is the same as the target Wikipedia article, just use {{w|Article name}}.

For example: {{w|Tron: Legacy}} produces Tron: Legacy.