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",...") |
|||
Line 1: | Line 1: | ||
+ | This template is ''experimental'' and is in development. | ||
+ | |||
+ | 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 22: | Line 46: | ||
"autovalue": "No data." | "autovalue": "No data." | ||
} | } | ||
− | } | + | } |
− | |||
} | } | ||
</templatedata> | </templatedata> |
Revision as of 17:57, 17 August 2017
This template is experimental and is in development.
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:
Contents
Report
Dragon
Dragon Text
Illuminati
This is a report from the Illumnati.
Templar
No data.
No description.
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 |