Template:C: Difference between revisions

Adding wiki parameter to allow linking to main page.
(Creating link template to allow for easy linking to Chibi-Robo! game pages.)
 
(Adding wiki parameter to allow linking to main page.)
Line 22: Line 22:
|zip
|zip
|zip lash={{#if:{{{2|}}}|''Chibi-Robo! Zip Lash''|''[[Chibi-Robo! Zip Lash]]''}}
|zip lash={{#if:{{{2|}}}|''Chibi-Robo! Zip Lash''|''[[Chibi-Robo! Zip Lash]]''}}
|w
|wiki={{#if:{{{2|}}}|[https://chibi-robo.wiki/wiki/Chibi-Robo_Wiki Chibi-Robo! Wiki]|Chibi-Robo! Wiki}}
|series
|series
|#default={{#switch:nolink
|#default={{#switch:nolink
Line 55: Line 57:
|style="text-align:right"|<code>series</code><br><code><blank/default value></code>
|style="text-align:right"|<code>series</code><br><code><blank/default value></code>
|{{c}}
|{{c}}
|-
|style="text-align:right"|<code>w</code><br><code>wiki</code>
|{{c|w}}
|}
|}


Line 63: Line 68:
*<code><nowiki>{{c|nolink}}</nowiki></code> → {{c|nolink}}
*<code><nowiki>{{c|nolink}}</nowiki></code> → {{c|nolink}}
*<code><nowiki>{{c|series|nolink}}</nowiki></code> → {{c|series|nolink}}
*<code><nowiki>{{c|series|nolink}}</nowiki></code> → {{c|series|nolink}}
 
In contrast to the other parameters, <code>wiki</code> does not generate a link by default. To link to the main page use the construction: <code><nowiki>{{c|wiki|link}}</nowiki></code>.
[[Category:Link templates]]
[[Category:Link templates]]
Patroller
79

edits