< Template:FC | County
mNo edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
It requires only two parameters at minimum, the county name, and it's upgrade status. | It requires only two parameters at minimum, the county name, and it's upgrade status. | ||
The template is designed to be transcluded enclosed inside a table. | |||
{{Pre2|<nowiki>{| border=1 | {{Pre2|<nowiki>{| border=1 | ||
Template goes here | |||
|}</nowiki>}} | |||
For example | |||
{{Tl|FC/County|COUNTY NAME|STATUS}} | |||
→Produces | |||
{{FC/County|COUNTY NAME|STATUS}} | |||
But when enclosed in a table like this | |||
{{Pre2|<nowiki>{| border=1 | |||
{{FC/County|COUNTY NAME|STATUS}} | {{FC/County|COUNTY NAME|STATUS}} | ||
|}</nowiki>}} | |}</nowiki>}} | ||
→It produces | |||
{| border=1 | {| border=1 | ||
{{FC/County|COUNTY NAME|STATUS}} | {{FC/County|COUNTY NAME|STATUS}} | ||
Line 19: | Line 33: | ||
It accepts up to six optional editor names, separated by a pipe (|). | It accepts up to six optional editor names, separated by a pipe (|). If no editors are added, it will display "No volunteers yet". | ||
Example usage | Example usage | ||
{{Pre2|scroll|<nowiki>{| border=1 | {{Pre2|scroll|<nowiki>{| border=1 | ||
{{FC/County| | {{FC/County|Kings|in progress|PesachZ} | ||
{{FC/County| | {{FC/County|Queens|not started} | ||
{{FC/County|New York|complete|pumrum|PesachZ} | {{FC/County|New York|complete|pumrum|PesachZ} | ||
{{FC/County| | {{FC/County|Richmond|something else|pumrum|PesachZ|third|4th|fifth_Wazer|FinalShownWazer|not displayed above limit}} | ||
|}</nowiki>}} | |}</nowiki>}} | ||
→Produces | |||
{| border=1 | {| border=1 | ||
{{FC/County| | {{FC/County|Kings|in progress|PesachZ}}{{FC/County|Queens|not started}}{{FC/County|New York|complete|pumrum|PesachZ}}{{FC/County|Richmond|something else|pumrum|PesachZ|third|4th|fifth_Wazer|FinalShownWazer|not displayed above limit}} | ||
|} | |} | ||
Revision as of 14:41, 14 August 2014
![]() |
This is a documentation subpage for . It contains usage information, categories and other content that is not part of the original template page. |
This template is designed to be used to add rows to a table tracking FC upgrades by county.
It requires only two parameters at minimum, the county name, and it's upgrade status.
The template is designed to be transcluded enclosed inside a table.
{| border=1 Template goes here |}
For example
{{FC/County}}
→Produces
|- align="center" bgcolor="white" |COUNTY NAME |No volunteers yet |STATUS
But when enclosed in a table like this
{| border=1 {{FC/County|COUNTY NAME|STATUS}} |}
→It produces
COUNTY NAME | No volunteers yet | STATUS
|
It can change the color of the row if the status is set to one of these three options exactly |not started|in progress|complete|
It accepts up to six optional editor names, separated by a pipe (|). If no editors are added, it will display "No volunteers yet".
Example usage
{| border=1 {{FC/County|Kings|in progress|PesachZ} {{FC/County|Queens|not started} {{FC/County|New York|complete|pumrum|PesachZ} {{FC/County|Richmond|something else|pumrum|PesachZ|third|4th|fifth_Wazer|FinalShownWazer|not displayed above limit}} |}
→Produces
Kings | PesachZ (PM [Help]) ![]() |
in progress
|
Queens | No volunteers yet | not started
|
New York | pumrum (PM [Help]) ![]() ![]() |
complete
|
Richmond | pumrum (PM [Help]) ![]() ![]() ![]() ![]() ![]() ![]() |
something else
|