Difference between revisions of "Template:Fa"
Jump to navigation
Jump to search
m (One more bit) |
(Rename 'date' field to 'dates'; improve examples; add NB.) |
||
| Line 1: | Line 1: | ||
| − | {| {{#if:{{{ | + | {| {{#if:{{{dates|}}}|class="collapsible collapsed" width="75%"}} |
! style="text-align:left"| | ! style="text-align:left"| | ||
| − | *[[{{{1}}}]] {{#if:{{{ | + | *[[{{{1}}}]] {{#if:{{{dates|}}}|<span style="font-weight:normal">({{{dates}}})</span>}} |
|- | |- | ||
|| | || | ||
{{{2|}}} | {{{2|}}} | ||
| − | |} | + | |}<noinclude> |
| − | <noinclude> | ||
{{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|1|Article name|yes|Do not link: is linked automatically}} | {{parm|1|Article name|yes|Do not link: is linked automatically}} | ||
| − | {{parm| | + | {{parm|dates|Dates 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, the | + | Once the article has been (or is currently being) featured, the ''dates'' field should be added. This will also cause the template to hide the comments. |
| − | '''Note A''': When the '' | + | '''Note A''': When the ''dates'' field is supplied, the comments are hidden, but may be displayed by clicking the "show" button. |
Example: | Example: | ||
| Line 25: | Line 24: | ||
Example after featuring: | Example after featuring: | ||
| − | <nowiki>{{fa|Main page| | + | <nowiki>{{fa|Main page|dates=1st to 24th December 2008| |
:* Agree. ~~~~</nowiki> | :* Agree. ~~~~</nowiki> | ||
| + | :* Disagree: Santa didn't write a good enough article about himself. [[User:Philip J. Rayment|Philip J. Rayment]] 10:38, 21 August 2008 (EDT) | ||
}} | }} | ||
This example produces the following: | This example produces the following: | ||
| − | {{fa|Main page| | + | {{fa|Main page|dates=1st December to 24th December 2008| |
| − | :* Agree. [[user:Santa claus|Santa claus]] 00:00, 26 December 2008 (NPT) | + | :* Agree. [[user:Santa claus|Santa claus]] 00:00, 26 December 2008 (NPT)<!-- North Pole Time! --> |
| + | :* Disagree: Santa didn't write a good enough article about himself. [[user:Senior elf|Senior elf]] 00:01, 26 December, 2008 (NPT) | ||
}} | }} | ||
| + | '''NB:''' Don't overlook the pipe character (|) after the dates field. | ||
</noinclude> | </noinclude> | ||
Revision as of 14:38, 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 |
| dates | Dates 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 dates field should be added. This will also cause the template to hide the comments.
Note A: When the dates 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|dates=1st to 24th December 2008|
:* Agree. ~~~~
:* Disagree: Santa didn't write a good enough article about himself. Philip J. Rayment 10:38, 21 August 2008 (EDT)
}}
This example produces the following:
|
|---|
|
NB: Don't overlook the pipe character (|) after the dates field.