Difference between revisions of "Template:FactionReport/doc"
Jump to navigation
Jump to search
(Created page with " <templatedata> { "params": { "dragon": { "label": "Dragon", "description": "Dragon Faction Report", "example": "The butterflies are evil.", "type": "string",...") |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | __NOTOC__ | ||
+ | |||
+ | This template is ''experimental'' and is in development. | ||
+ | |||
+ | There is also [[Template:Report]] which attempts to mimic the game's report UI. | ||
+ | |||
+ | Faction Report is a template for the REPORT section of a given page. | ||
+ | |||
+ | Usage is simple: | ||
+ | |||
+ | <pre>{{FactionReport | ||
+ | |dragon=DRAGON TEXT | ||
+ | |illuminati=ILLUMATI TEXT | ||
+ | |templar=TEMPLAR TEXT | ||
+ | }} | ||
+ | </pre> | ||
+ | |||
+ | Faction logos will be automatically added as will the REPORT heading. | ||
+ | |||
+ | Any missing faction will have ''No data.'' shown instead. | ||
+ | |||
+ | |||
+ | '''Example:''' | ||
+ | {{FactionReport|dragon=Dragon Text|illuminati=This is | ||
+ | a | ||
+ | report from the Illumnati. | ||
+ | }} | ||
+ | |||
<templatedata> | <templatedata> | ||
Line 23: | Line 51: | ||
} | } | ||
}, | }, | ||
− | "description": " | + | "description": "Detailed Syntax" |
} | } | ||
</templatedata> | </templatedata> |
Latest revision as of 18:01, 17 August 2017
This template is experimental and is in development.
There is also Template:Report which attempts to mimic the game's report UI.
Faction Report is a template for the REPORT section of a given page.
Usage is simple:
{{FactionReport |dragon=DRAGON TEXT |illuminati=ILLUMATI TEXT |templar=TEMPLAR TEXT }}
Faction logos will be automatically added as will the REPORT heading.
Any missing faction will have No data. shown instead.
Example:
Report
Dragon
Dragon Text
Illuminati
This is a report from the Illumnati.
Templar
No data.
Detailed Syntax
Parameter | Description | Type | Status | |
---|---|---|---|---|
Dragon | dragon | Dragon Faction Report
| String | optional |
Illuminati | illuminati | Illuminati Faction Report
| String | optional |
Templar | templar | Templar Faction Report
| String | optional |