Difference between revisions of "Template:Fa"
Jump to navigation
Jump to search
(Create template) |
(Remove temporary code; try fixing bug; add live example.) |
||
| Line 1: | Line 1: | ||
| − | {| {{#ifeq:{{{done| | + | {| {{#ifeq:{{{done|}}}|yes|class="collapsible collapsed" width="75%"}} |
! style="text-align:left"| | ! style="text-align:left"| | ||
*[[{{{1}}}]] | *[[{{{1}}}]] | ||
|- | |- | ||
| − | | | + | || |
{{{2|}}} | {{{2|}}} | ||
|} | |} | ||
| Line 25: | Line 25: | ||
Example after featuring: | Example after featuring: | ||
| − | <nowiki>{{fa|Main page|done=yes | + | <nowiki>{{fa|Main page|done=yes| |
| − | ** Support ~~~~</nowiki> | + | ** Support. ~~~~</nowiki> |
}} | }} | ||
| + | This example produces the following: | ||
| + | {{fa|Main page|done=yes| | ||
| + | ** Support. [[user:Santa claus|Santa claus]] 00:00, 25 December 2008 (NPT) | ||
| + | ** Support. [[user:Santa claus|Santa claus]] 00:00, 25 December 2008 (NPT) | ||
| + | }} | ||
</noinclude> | </noinclude> | ||
Revision as of 14:01, 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 |
| done | See note A | no | See note A |
| 1 | Article name | yes | Do not link: is linked automatically |
| 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 two asterisks.
Once the article has been (or is currently being) featured, done=yes should be added to 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.
Example:
{{fa|Main page|
** Support ~~~~
}}
Example after featuring:
{{fa|Main page|done=yes|
** Support. ~~~~
}}
This example produces the following:
|