Template:InterwikiInfobox: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
mNo edit summary
(+colspan ability)
Line 3: Line 3:
</noinclude>
</noinclude>
|-
|-
|style="background-color:#{{InterwikiColour|{{{2}}}}}"|'''Article on {{{1}}}'''
|style="background-color:#{{InterwikiColour|{{{2}}}}}" colspan="{{{colspan|1}}}"|'''Article on {{{1}}}'''
|[[{{{2}}}:{{{3}}}|{{{4}}}]]
|[[{{{2}}}:{{{3}}}|{{{4}}}]]
|-
|-
Line 12: Line 12:
Stick this template before the <nowiki>|}</nowiki> of an infobox (like a stage infobox) like this:
Stick this template before the <nowiki>|}</nowiki> of an infobox (like a stage infobox) like this:


<code><nowiki>{{InterwikiInfobox|name of wiki|interwiki prefix|article name on that wiki|desired title of link}}</nowiki></code>
<code><nowiki>{{InterwikiInfobox|name of wiki|interwiki prefix|article name on that wiki|desired title of link|colspan=1}}</nowiki></code>
 
The colspan part is optional, for infoboxes like {{t|Infobox Enemy}} that use multicolumns.


[[Category:Meta-templates]]
[[Category:Meta-templates]]
</noinclude>
</noinclude>

Revision as of 14:34, January 21, 2012

Article on {{{1}}} [[{{{2}}}:{{{3}}}|{{{4}}}]]

Usage

Stick this template before the |} of an infobox (like a stage infobox) like this:

{{InterwikiInfobox|name of wiki|interwiki prefix|article name on that wiki|desired title of link|colspan=1}}

The colspan part is optional, for infoboxes like {{Infobox Enemy}} that use multicolumns.