Difference between revisions of "Template:Parms"

From Conservapedia
Jump to navigation Jump to search
(Remove last line of table)
(Default for no parameters)
Line 2: Line 2:
 
!colspan=4|Template Parameters
 
!colspan=4|Template Parameters
 
|-
 
|-
|{{#if: {{{1}}} ||colspan=4}}{{#if:{{{1}}}|{{!}}'''Name'''{{!}}{{!}}'''Purpose'''{{!}}{{!}}'''Required?'''{{!}}{{!}}'''Comment'''
+
|{{#if: {{{1|}}} ||colspan=4}}{{#if:{{{1}}}|{{!}}'''Name'''{{!}}{{!}}'''Purpose'''{{!}}{{!}}'''Required?'''{{!}}{{!}}'''Comment'''
 
{{{1}}}|{{!}}This template has no parameters}}
 
{{{1}}}|{{!}}This template has no parameters}}
 
|}</includeonly>
 
|}</includeonly>
Line 8: Line 8:
 
{{TemplateDoc|pages=Template documentation pages|purpose=Listing parameters (it is used below for this template)}}
 
{{TemplateDoc|pages=Template documentation pages|purpose=Listing parameters (it is used below for this template)}}
 
{{Parms2|{{parm2|1|yes|list of <nowiki>{{parm2}}</nowiki> templates|"no parameters" comment}} }}
 
{{Parms2|{{parm2|1|yes|list of <nowiki>{{parm2}}</nowiki> templates|"no parameters" comment}} }}
If the template has no parameters, put <small><tt><nowiki>{{parms2|}}</nowiki></tt></small> on the documentation page.  The following info box will be the result:
+
If the template has no parameters, put <small><tt><nowiki>{{parms2}}</nowiki></tt></small> on the documentation page.  The following info box will be the result:
{{parms2|}}
+
{{parms2}}
 
</noinclude>
 
</noinclude>

Revision as of 12:13, June 6, 2007



Template: Parms
Use on Template documentation pages
Use for Listing parameters (it is used below for this template)
Category template applies to page (none)

Template:Parms2 If the template has no parameters, put {{parms2}} on the documentation page. The following info box will be the result: Template:Parms2