Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
Template:T row if
(view source)
Revision as of 07:31, June 16, 2007
122 bytes added
,
07:31, June 16, 2007
Edits to documentation
Line 8:
Line 8:
{{parm|2|Second column text|yes|}}
{{parm|2|Second column text|yes|}}
}}
}}
−
If parameter 2 is not empty, then the code for a table row (wiki syntax) with two columns is returned, else nothing is returned.
+
If parameter 2 is not empty, then the code for a table row (wiki syntax) with two columns is returned, else nothing
*
is returned.
−
Example:
+
'''
Example:
'''
<pre><nowiki>{| class="wikitable"
<pre><nowiki>{| class="wikitable"
Line 16:
Line 16:
{{t row if|Not Provided:|{{{no|}}}}}
{{t row if|Not Provided:|{{{no|}}}}}
|}</nowiki></pre>
|}</nowiki></pre>
−
Displays as:
+
'''
Displays as:
'''
{| class="wikitable"
{| class="wikitable"
Line 22:
Line 22:
{{t row if|Not Provided:|{{{no|}}}}}
{{t row if|Not Provided:|{{{no|}}}}}
|}
|}
+
+
<small>*— A couple of empty <nowiki><div></nowiki> tags are actually returned, to avoid bugs.</small>
</noinclude>
</noinclude>
Philip J. Rayment
nsTeam2RO, nsTeam2RW, nsTeam2_talkRO, nsTeam2_talkRW
13,254
edits
Navigation menu
Personal tools
Create account
Log in
Namespaces
Template
talk page
Variants
Views
Read
View source
View history
More
Search
Popular Links
Main Page
Recent changes
New Pages
Random page
Statistics
Edit Console
Special pages
Printable version