Difference between revisions of "Template:Fa"

From Conservapedia
Jump to navigation Jump to search
(Have to go with this I guess)
(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>

Revision as of 14:18, August 21, 2008


Template: Fa
Use on Featured articles page
Use for List entry
Category template applies to page (none)
Template Parameters
(See using templates).
Name Purpose Required? Comment
1 Article name yes Do not link: is linked automatically
date Date of featuring no See note A
2 Comments no

This template is intended for use only on the 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, the date field should be added. This will also cause the template to hide the comments.

Note A: When the date field is supplied, the comments are hidden, but may be displayed by clicking the "show" button.

Example:

{{fa|Main page|
 :* Agree ~~~~
}}

Example after featuring:

{{fa|Main page|date=1st to 24th December 2008|
 :* Agree. ~~~~
}}

This example produces the following: