Template:C: Difference between revisions

From Chibi-Robo! Wiki
Jump to navigation Jump to search
(Creating link template to allow for easy linking to Chibi-Robo! game pages.)
 
m (removing brackets from chibi robo series link)
 
(One intermediate revision by the same user not shown)
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
|{{{1|}}}
|{{{1|}}}
|{{{2|}}}=''Chibi-Robo!'' (series)
|{{{2|}}}=''Chibi-Robo!'' series
|#default= [[Chibi-Robo! (series)|''Chibi-Robo!'' (series)]]}}
|#default= [[Chibi-Robo! (series)|''Chibi-Robo!'' series]]}}
}}<noinclude>
}}<noinclude>
==Usage==
==Usage==
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]]

Latest revision as of 03:19, 15 August 2024

Chibi-Robo! series

Usage

{{c|<game>|<nolink>}}

This template can be used to easily generate links to titles in the Chibi-Robo! series. If no parameter value is entered, or if the value entered for the first parameter does not match any of the accepted values, the template will produce the following link by default: Chibi-Robo! series

Parameter 1 (game)

Accetpable values Output
gcn
pia
plug into adventure
plug into adventure!
Chibi-Robo! Plug Into Adventure!
ds
pp
park
park patrol
Chibi-Robo! Park Patrol
ds2
ok
okaeri
okaeri!
cs
clean sweep
Okaeri! Chibi-Robo! Happy Richie Ōsōji!
3ds
pf
photo
photo finder
Chibi-Robo! Photo Finder
3ds2
zl
zip
zip lash
Chibi-Robo! Zip Lash
series
<blank/default value>
Chibi-Robo! series
w
wiki
Chibi-Robo! Wiki

Parameter 2 (nolink)

If you'd rather produce the name of the specified game without a link, the second parameter "nolink" can be entered.

  • {{c|park|nolink}}Chibi-Robo! Park Patrol

In order to produce the Chibi-Robo! series page without a link you can use one of the following constructions:

  • {{c|nolink}}Chibi-Robo! series
  • {{c|series|nolink}}Chibi-Robo! series

In contrast to the other parameters, wiki does not generate a link by default. To link to the main page use the construction: {{c|wiki|link}}.