Difference between revisions of "Template:Clonestate"
From EVE University Wiki
(basic functional?) |
m (tidyup. Apparently my safesubst did not go as planned, it seems to control defaults varable/params?) |
||
Line 1: | Line 1: | ||
− | The following code ''only'' will be transcribed. It may not appear with the usual parameters and default to some unusual state:<br/> | + | :The following code ''only'' will be transcribed. It may not appear with the usual parameters and default to some unusual state:<br/><br/> |
<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=]] [[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=]] [[Clone_states#Alpha_clones|{{{2|Alpha clone}}}]] | ||
− | | No clone state selected! | + | | ''No clone state selected!'' |
}}</onlyinclude> | }}</onlyinclude> | ||
==Documentation== | ==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. | + | 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 | + | ;Example code |
<pre>{{Template:Clonestate|omega|test}}</pre> | <pre>{{Template:Clonestate|omega|test}}</pre> | ||
− | {{# | + | ;Result |
− | |[[image:omega.png|16px|link=]] [[Clone_states#Omega_clones| | + | {{ |
− | |[[image:alpha.png|16px|link=]] [[Clone_states#Alpha_clones| | + | #switch: omega |
+ | |omega = [[image:omega.png|16px|link=]] [[Clone_states#Omega_clones|test]] | ||
+ | |alpha = [[image:alpha.png|16px|link=]] [[Clone_states#Alpha_clones|test]] | ||
+ | | No clone state selected! | ||
}} | }} |
Revision as of 04:54, 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