Difference between revisions of "Template:W"

From CWCki
Jump to navigation Jump to search
(Added usage, recategorized as a formatting template.)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
'''<span style="color:white;">{{{1}}}</span>'''<noinclude>{{usage|1=This is a formatting template used to display text in bold white.
<includeonly>[[wikipedia:{{#if:{{{lang|}}}|{{{lang}}}:}}{{{1}}}|{{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}]]</span></includeonly><noinclude>This template makes it easier to link to Wikipedia pages.
The format for using this template is as follows:<br />


'''<pre>{{W|I'LL BREAK YOU DEAD!}}</pre>'''
{|class="wikitable"
 
|-
 
! Markup
- Displays:{{W|I'LL BREAK YOU DEAD!}}  
! Output
 
|-
(Highlight above to see the text.)
| <code><nowiki>{{w|Iron Butterfly}}</nowiki></code>
 
| {{w|Iron Butterfly}}
This can be used to display text on a template with a dark background, if it has no parameter to alter the text color. Also, it can be used to conceal text unless the reader highlights it on the page.  
|-
 
| <code><nowiki>{{w|Iron Butterfly|lang=de}}</nowiki></code>
}}
| {{w|Iron Butterfly|lang=de}}
|-
| <code><nowiki>{{w|Iron Butterfly|I. Ron Butterfly}}</nowiki></code>
| {{w|Iron Butterfly|I. Ron Butterfly}}
|-
| <code><nowiki>{{w|Iron Butterfly|I. Ron Butterfly|lang=de}}</nowiki></code>
| {{w|Iron Butterfly|I. Ron Butterfly|lang=de}}
|}


[[Category:Formatting and function templates|{{PAGENAME}}]]</noinclude>
[[Category:Formatting and function templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 06:09, 30 September 2020

This template makes it easier to link to Wikipedia pages.

Markup Output
{{w|Iron Butterfly}} Iron Butterfly
{{w|Iron Butterfly|lang=de}} Iron Butterfly
{{w|Iron Butterfly|I. Ron Butterfly}} I. Ron Butterfly
{{w|Iron Butterfly|I. Ron Butterfly|lang=de}} I. Ron Butterfly