Changes

Jump to navigation Jump to search
120 bytes added ,  14:18, August 21, 2008
Forgot to allow for date; use its existence instead of "done" to control hiding.
Line 1: Line 1: −
{| {{#ifeq:{{{done|}}}|yes|class="collapsible collapsed" width="75%"}}
+
{| {{#if:{{{date|x}}}|class="collapsible collapsed" width="75%"}}
 
! style="text-align:left"|
 
! style="text-align:left"|
−
*[[{{{1}}}]]
+
*[[{{{1|test}}}]] {{#if:{{{date|}}}|<span style="font-weight:normal">({{{date}}})</span>}}
 
|-
 
|-
 
||
 
||
Line 9: Line 9:  
{{TemplateDoc|pages=[[Conservapedia:Featured articles|Featured articles]] page|purpose=List entry}}
 
{{TemplateDoc|pages=[[Conservapedia:Featured articles|Featured articles]] page|purpose=List entry}}
 
{{parms|
 
{{parms|
−
{{parm|done|See note A|no|See note A}}
   
  {{parm|1|Article name|yes|Do not link: is linked automatically}}
 
  {{parm|1|Article name|yes|Do not link: is linked automatically}}
 +
{{parm|date|Date of featuring|no|See note A}}
 
  {{parm|2|Comments|no}}
 
  {{parm|2|Comments|no}}
 
}}
 
}}
 
This template is intended for use only on the [[Conservapedia:Featured articles|Featured articles]] page.  Each suggested article should be entered using this template.  Comments for or against featuring the article should be added within this template, each on a separate line and each preceded by a colon and asterisk.
 
This template is intended for use only on the [[Conservapedia:Featured articles|Featured articles]] page.  Each suggested article should be entered using this template.  Comments for or against featuring the article should be added within this template, each on a separate line and each preceded by a colon and asterisk.
   −
Once the article has been (or is currently being) featured, {{tt|<nowiki>done=yes</nowiki>}} should be added to the template to hide the comments.
+
Once the article has been (or is currently being) featured, the date field should be added.  This will also cause the template to hide the comments.
   −
'''Note A''':  When field ''done'' is set to "yes", the comments are hidden, but may be displayed by clicking the "show" button.
+
'''Note A''':  When the ''date'' field is supplied, the comments are hidden, but may be displayed by clicking the "show" button.
    
Example:
 
Example:
 
  <nowiki>{{fa|Main page|
 
  <nowiki>{{fa|Main page|
−
  :* Support ~~~~</nowiki>
+
  :* Agree ~~~~</nowiki>
 
  }}
 
  }}
    
Example after featuring:
 
Example after featuring:
−
  <nowiki>{{fa|Main page|done=yes|
+
  <nowiki>{{fa|Main page|date=1st to 24th December 2008|
−
  :* Support. ~~~~</nowiki>
+
  :* Agree. ~~~~</nowiki>
 
  }}
 
  }}
 
This example produces the following:
 
This example produces the following:
−
{{fa|Main page|done=yes|
+
{{fa|Main page|date=1st to 24th December 2008|
−
:* Support. [[user:Santa claus|Santa claus]] 00:00, 26 December 2008 (NPT)
+
:* Agree. [[user:Santa claus|Santa claus]] 00:00, 26 December 2008 (NPT)
 
}}
 
}}
 
</noinclude>
 
</noinclude>
nsTeam2RO, nsTeam2RW, nsTeam2_talkRO, nsTeam2_talkRW
13,254

edits

Navigation menu