Changes

Jump to navigation Jump to search
173 bytes added ,  07:46, June 16, 2007
Add link parameter
Line 1: Line 1:  
<includeonly>{{#if:{{{2|}}}
 
<includeonly>{{#if:{{{2|}}}
 
  |{{!}}-
 
  |{{!}}-
−
  {{!}}{{{1}}}{{!}}{{!}}{{{2}}}
+
  {{!}}{{{1}}}{{!}}{{!}}{{#ifeq:{{{link|}}}|yes|[[{{{2}}}]]|{{{2}}}}}
 
|<div></div>}}</includeonly><noinclude>
 
|<div></div>}}</includeonly><noinclude>
 
{{lowercase}}
 
{{lowercase}}
Line 8: Line 8:  
  {{parm|1|First column text|yes|}}
 
  {{parm|1|First column text|yes|}}
 
  {{parm|2|Second column text|yes|}}
 
  {{parm|2|Second column text|yes|}}
 +
{{parm|link|link the second column?|no|see note A}}
 
}}
 
}}
 
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.
 +
 +
'''Note A:'''
 +
:If link=yes, the value of the second column will be a Wikilink.
 +
 +
    
'''Example:'''
 
'''Example:'''
nsTeam2RO, nsTeam2RW, nsTeam2_talkRO, nsTeam2_talkRW
13,254

edits

Navigation menu