Difference between revisions of "Template:NPCTableSeparator/doc"
From EVE University Wiki
(removed footer) |
m (Change the use case description for NPCTableCSS.) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | This template is used to create | + | ; Description |
− | + | : This template is used to create a header row in an NPCTable. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | ; Dependencies: | |
− | ; | + | :; Requires |
− | : | + | :: {{T|NPCTableCSS}} is required only <em>once</em> per page where there's at least one NPCTable. It is included into {{T|CMBSiteInfo}} and {{T|CMBSite}}(deprecated), so when one of those is used there is no need to add it separately. |
+ | :: {{T|NPCTableHead}} | ||
− | + | ; Syntax | |
− | + | : {{T|NPCTableSeparator|content}} | |
− | + | :; Parameters | |
− | <nowiki>{{ | + | ::; content: Text in the row. |
− | <nowiki>{{NPCTableSeparator| | + | |
− | < | + | ; Sample |
− | <nowiki>|}</nowiki></code> | + | {{NPCTableCSS}} |
− | :gives... | + | : <code><nowiki>{{NPCTableHead|Initial defenders}}</nowiki></code> |
− | + | : <code><nowiki>{{NPCTableSeparator|Group A}}</nowiki></code> | |
− | {{NPCTableHead| | + | : <code><nowiki>|}</nowiki></code> |
− | + | :: gives... | |
− | {{NPCTableSeparator| | + | {{NPCTableHead|Initial defenders}} |
− | + | {{NPCTableSeparator|Group A}} | |
|} | |} | ||
+ | Note: #222222 is used for the background color of the NPCTable headers. But because the background color of the documentation section of a template is also #222222 it can not be seen on a template page. | ||
+ | |||
+ | ; See also | ||
+ | * [[UniWiki:Mission formatting guidelines|Mission formatting guidelines]] | ||
− | <includeonly>[[Category: | + | <includeonly>[[Category:Formatting templates]]<!-- Any categories for the template itself --></includeonly> |
− | <noinclude>[[Category:Template documentation | + | <noinclude>[[Category:Template documentation]]</noinclude> |
Latest revision as of 09:05, 4 June 2023
- Description
- This template is used to create a header row in an NPCTable.
- Dependencies
-
- Requires
- {{NPCTableCSS}} is required only once per page where there's at least one NPCTable. It is included into {{CMBSiteInfo}} and {{CMBSite}}(deprecated), so when one of those is used there is no need to add it separately.
- {{NPCTableHead}}
- Syntax
- {{NPCTableSeparator|<content>}}
- Parameters
-
- content
- Text in the row.
- Sample
{{NPCTableHead|Initial defenders}}
{{NPCTableSeparator|Group A}}
|}
- gives...
Initial defenders
WD | EWAR | L | ||
---|---|---|---|---|
Group A |
Note: #222222 is used for the background color of the NPCTable headers. But because the background color of the documentation section of a template is also #222222 it can not be seen on a template page.
- See also