Template:SChar: Difference between revisions

added in optional color.
(added in a default catch-all to the template.)
(added in optional color.)
Line 1: Line 1:
<includeonly>[[{{{2}}},_{{{1}}}/{{{3}}}|{{{4|{{{3}}}}}}]]</includeonly><noinclude>
<includeonly>[[{{{2}}},_{{{1}}}/{{{3}}}|{{#if: {{{COLOR|}}}|<span style="{{TextColor|{{{COLOR|}}}}};">|}}{{{4|{{{3}}}}}}]</span>]</includeonly><noinclude>
==The Character Subpage (sChar) Template==
==The Character Subpage (sChar) Template==
This template makes a link to a subpage of a character in which it appears without the slash. Rather then have to create a link like this: <nowiki>[[CharLast,_CharFirst/Subpage]]</nowiki>, you can now just type this: <nowiki>{{sChar|CharFirst|CharLast|Subpage}}</nowiki> and you will get the same link.  
This template makes a link to a subpage of a character in which it appears without the slash. Rather then have to create a link like this: <nowiki>[[CharLast,_CharFirst/Subpage]]</nowiki>, you can now just type this: <nowiki>{{sChar|CharFirst|CharLast|Subpage}}</nowiki> and you will get the same link. If you want it colored, specify |COLOR=color.  


If you have any questions, ask [[User:Ceciri|Ceciri]]. Based off of [[User:Rich|Rich]]'s awesome [[Template:s]]
If you have any questions, ask [[User:Ceciri|Ceciri]]. Based off of [[User:Rich|Rich]]'s awesome [[Template:s]]
[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>
7,850

edits