Sorry for the inconvenience.  Chance of typos in templates, the navigation header should be functional for most versions of the handbook.
Potential remains for unforeseen breakage primarily in the handbook portion of the wiki.
Notice will be up until above verified and no other troubles found from recent modifications.

Difference between revisions of "Template:Smalltext"

From PC-BSD Wiki
Jump to: navigation, search
(Explanation)
 
(One intermediate revision by one user not shown)
Line 1: Line 1:
<span class="smalltext" >{{{txt|{{{1|ERROR}}}}}}</span><noinclude><!-- (there is an error/issue in the code for explanation here) This allows for small text in a heading.
+
<span class="smalltext" >{{{text|{{{txt|{{{1|ERROR}}}}}}}}}</span><noinclude>
<nowiki><span style="font-size:small">{{{txt|{{{1|ERROR}}}}}}</span></nowiki>
+
== Usage ==
== Usage in context ==
+
'''<nowiki>{{</nowiki>smalltext{{pipe}}text='''''text to make smaller'''''<nowiki>}}</nowiki>'''
'''<nowiki>== header text {{</nowiki>smalltext|txt='''''example text'''''<nowiki>}} ==</nowiki>'''
+
== Explanation ==
== Result in context ==
+
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 -->
== header text {{Smalltext|txt=example text}}== -->
+
</noinclude><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