User:TEF/Templates/Fansite row
From Guild Wars 2 Wiki
Jump to navigationJump to search
|- style="display:none;"
| [http:// ] || || style="text-align:center;"| 0 || style="text-align:center;"| 0 ||
Description[edit]
Used in List of fansites to make it easier to add/update a site and/or change the formatting. (Currently, the template has no error-checking logic — since it shouldn't need to be used that often, it is probably easier to fix data-entry errors than do proper validation checks.)
Parameters[edit]
Parameter | Required? | Default | Notes |
---|---|---|---|
Name | 1 | [none] | The name of the site. Used to display the name and for sorting. |
URL | 1 | [none] | URL (assumes http:// |
Language | 1 | [none] | Determines the icon shown (and the sort order). |
News | 0 | no | Displays checkbox for sites with current News. |
Forum | 0 | no | Displays checkbox for sites with an active Forum. |
Other | 0 | [empty] | Any Other useful details |
Checked | 0 | 20120101 | Date the site was last Checked to confirm activity level (does not display in the table) |
Example[edit]
{| {{STDT|sortable}} |- ! style="width:225px;" | Name ! style="width:100px;" | Language ! style="width:55px;" | News ! style="width:55px;" | Forum ! style="width:410px;" | Other information {{Fansite_row | Name = Guild Wars 2 Wiki | Language = English | URL = wiki.guildwars2.com | News = Yes | Forum = No | Other = The official Guild Wars 2 Wiki (English) | Checked = 20120621 }} |}
Name | Language | News | Forum | Other information |
---|---|---|---|---|
[ ] |
Templates[edit]
You can use these templates to add a new row to the table:
Vertical form[edit]
{{Fansite_row | Name = name | Language = language | URL = URL | News = | Forum = | Other = | Checked = yyyymmdd }}
Horizontal form[edit]
{{Fansite_row | Name = name | Language = language | URL = URL | News = | Forum = | Other = | Checked = yyyymmdd }}