Template:Ascendancy class/doc: Difference between revisions
Jump to navigation
Jump to search
>Qetuth m (broken link) |
(→Cargo) |
||
(13 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Documentation subpage}} | ||
The '''{{BASEPAGENAME}}''' template is used to create a infocard for [[Ascendancy class]]es | {{Lua|Module:Data tables}} | ||
The '''{{BASEPAGENAME}}''' template is used to create a infocard for [[Ascendancy class]]es. | |||
==Overview== | ==Overview== | ||
The template will do the following: | The template will do the following: | ||
* | * Create an infocard. | ||
* | * Add relevant categories to the page. | ||
* | * Add cargo fields to the page. | ||
==Parameters== | ==Parameters== | ||
All parameters should be filled in if possible to ensure it's working correctly. | All parameters should be filled in if possible to ensure it's working correctly. | ||
Line 20: | Line 18: | ||
! Type | ! Type | ||
! Description | ! Description | ||
! Optional | |||
|- | |- | ||
| '''name''' | | '''name''' | ||
| str | | str | ||
| Name of the ascendancy class | | Name of the ascendancy class | ||
| {{no}} | |||
|- | |- | ||
| ''' | | '''flavour_text''' | ||
| str | | str | ||
| | | The ascendancy classes flavour text | ||
|- | | {{yes}} | ||
| | |} | ||
| | |||
| | ==Cargo== | ||
{| class="wikitable" | |||
! Table !! Declared by !! Attached by | |||
|- | |||
| [[Special:CargoTables/ascendancy_classes|ascendancy_classes]] | |||
| {{tl|Ascendancy class/cargo/ascendancy classes/declare}} | |||
| {{tl|Ascendancy class/cargo/ascendancy classes/attach}} | |||
|} | |} | ||
{{Documentation categories| | |||
<!-- | <!-- Categories and interwikis go here. --> | ||
[[Category: | [[Category:Data templates]] | ||
}} |
Latest revision as of 01:40, 26 June 2022
This subpage provides documentation for Template:Ascendancy class.
The Ascendancy class template is used to create a infocard for Ascendancy classes.
Overview
The template will do the following:
- Create an infocard.
- Add relevant categories to the page.
- Add cargo fields to the page.
Parameters
All parameters should be filled in if possible to ensure it's working correctly.
Parameter | Type | Description | Optional |
---|---|---|---|
name | str | Name of the ascendancy class | ✗
|
flavour_text | str | The ascendancy classes flavour text | ✓
|
Cargo
Table | Declared by | Attached by |
---|---|---|
ascendancy_classes | {{Ascendancy class/cargo/ascendancy classes/declare}} | {{Ascendancy class/cargo/ascendancy classes/attach}} |