Difference between revisions of "Template:Smalltext"

From PC-BSD Wiki
Jump to: navigation, search
(Explanation)
 
(4 intermediate revisions by one user not shown)
Line 1: Line 1:
<includeonly><span style="font-size:small">{{{text|{{{1|ERROR}}}}}}</span></includeonly>
+
<span class="smalltext" >{{{text|{{{txt|{{{1|ERROR}}}}}}}}}</span><noinclude>
<noinclude><nowiki><span style="font-size:small">{{{text|{{{1|ERROR}}}}}}</span></nowiki></noinclude>
+
== Usage ==
<noinclude>[[category:templates]]</noinclude>
+
'''<nowiki>{{</nowiki>smalltext{{pipe}}text='''''text to make smaller'''''<nowiki>}}</nowiki>'''
 +
== Explanation ==
 +
Assuming there is text within wiki header markup or html header tags: <h2>This is a simple template to {{smalltext|text=reduce the size of text}} that could {{smalltext|also have '''bold''' or ''italic'' style.}} If an equal sign (=) causes trouble, assign the target to the variable '''''text'''''. Please note that this template adds padding of one space to either side of the text content.</h2></noinclude>[[category:uses smalltext]]<noinclude>[[category:templates]][[category:style]]</noinclude><!-- there must be no space or text after this comment -->

Latest revision as of 22:46, 22 April 2013

ERROR

[edit] Usage

{{smalltext|text=text to make smaller}}

[edit] Explanation

Assuming there is text within wiki header markup or html header tags:

This is a simple template to reduce the size of text that could also have bold or italic style. If an equal sign (=) causes trouble, assign the target to the variable text. Please note that this template adds padding of one space to either side of the text content.

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox