Template:Tnull/doc: Difference between revisions
Jump to navigation
Jump to search
m (to make this easier to differentiate from the surrounding text) |
m (wording) |
||
Line 1: | Line 1: | ||
<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude> | <includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude> | ||
'''Tnull''' is used to nullify templates in the monospaced font. It is similar to {{tl2|tlx}} in the way that it has support for | '''Tnull''' is used to nullify templates in the monospaced font. It is similar to {{tl2|tlx}} in the way that it has support for many parameters. | ||
;Example: | ;Example: | ||
:Typing <tt><code>{{tnull|foo|bar|baz|boo}}</code></tt> in the edit-form would yield <tt>{{foo|bar|baz|boo}}</tt> in the "read-mode". | :Typing <tt><code>{{tnull|foo|bar|baz|boo}}</code></tt> in the edit-form would yield <tt>{{foo|bar|baz|boo}}</tt> in the "read-mode". |
Revision as of 00:55, 12 April 2008
Template:Template doc page viewed directly Tnull is used to nullify templates in the monospaced font. It is similar to Template:Tl2 in the way that it has support for many parameters.
- Example
- Typing
{{tnull|foo|bar|baz|boo}}
in the edit-form would yield {{foo|bar|baz|boo}} in the "read-mode". - Note
- If there is an "=" in any parameter, you must use parameter_number=text. So to nullify something like Template:Tl2, use the syntax
{{tnull|click|2=image=IMAGE NAME|3=width=WIDTH|4=height=HEIGHT|5=link=PAGE TO LINK TO}}
, which would yield {{click|image=IMAGE NAME|width=WIDTH|height=HEIGHT|link=PAGE TO LINK TO}}