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/doc: Difference between revisions

Template page
Arin Mara (talk | contribs)
m I can already see Evon visited the template docs without needing to read the history ;)
m Latest edit (as of April 2022) results in a formatting error with any further text in line. Changed documentation sample to reflect this.
Line 16: Line 16:
{{Clonestate|omega}}
{{Clonestate|omega}}


: {{Code|<nowiki>{{Clonestate|omega|test}}</nowiki>}} gives ...
: {{Code|<nowiki>{{Clonestate|omega|test}} test please ignore</nowiki>}} gives ...
{{Clonestate|omega|test}}
{{Clonestate|omega|test}} line please ignore


<includeonly>[[Category:Image templates|{{PAGENAME}}]]<!-- Any categories for the template itself --></includeonly>
<includeonly>[[Category:Image templates|{{PAGENAME}}]]<!-- Any categories for the template itself --></includeonly>
<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>

Revision as of 03:50, 2 August 2022

Description
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.
Dependencies
uses:
Alpha.png
Omega.png
Syntax
{{Clonestate|<state>|<alt text>}}
state - alpha or omega
alt text - Alternative text
Sample output
{{Clonestate|omega}}
gives ...

 Omega clone

{{Clonestate|omega|test}} test please ignore
gives ...

 test line please ignore