Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Clonestate: Difference between revisions

Template page
Telinchei (talk | contribs)
m tidyup. Apparently my safesubst did not go as planned, it seems to control defaults varable/params?
Telinchei (talk | contribs)
orphan control/linebreak prevention
Line 2: Line 2:
<onlyinclude>{{
<onlyinclude>{{
#switch: {{{1}}}
#switch: {{{1}}}
|omega = [[image:omega.png|16px|link=]] [[Clone_states#Omega_clones|{{{2|Omega clone}}}]]
|omega = [[image:omega.png|16px|link=]]&nbsp;[[Clone_states#Omega_clones|{{{2|Omega clone}}}]]
|alpha = [[image:alpha.png|16px|link=]] [[Clone_states#Alpha_clones|{{{2|Alpha clone}}}]]
|alpha = [[image:alpha.png|16px|link=]]&nbsp;[[Clone_states#Alpha_clones|{{{2|Alpha clone}}}]]
| ''No clone state selected!''
| ''No clone state selected!''
}}</onlyinclude>
}}</onlyinclude>

Revision as of 04:55, 25 July 2018

The following code only will be transcribed. It may not appear with the usual parameters and default to some unusual state:

No clone state selected!

Documentation

This will place an icon about clone states and the relevant article link. Select either "alpha" or "omega". Text may be changed using parameter two. As the template is simple, no test cases are required.

Example code
{{Template:Clonestate|omega|test}}
Result

test