Template:BuildPage: Difference between revisions
More actions
Create BuildPage template for styled Bankers Guild funded build pages |
Add TemplateData for Visual Editor support; fix cost example to use middot |
||
| Line 8: | Line 8: | ||
|quote=Where the oven glows like the moon and each bite carries the sweetness of the stars. | |quote=Where the oven glows like the moon and each bite carries the sweetness of the stars. | ||
|lore=Your build's lore / flavour text goes here. Use standard wikitext formatting (bold, italic, paragraphs etc). | |lore=Your build's lore / flavour text goes here. Use standard wikitext formatting (bold, italic, paragraphs etc). | ||
|cost=5 Legends | |cost=5 Legends · 3 Myths · 9 Sagas | ||
|location=AVEREAUX – EMBERMOUNT | |location=AVEREAUX – EMBERMOUNT | ||
|build_code=BG.MRS.09 | |build_code=BG.MRS.09 | ||
| Line 42: | Line 42: | ||
| '''nation''' || No || Nation name, used for categories and back-link | | '''nation''' || No || Nation name, used for categories and back-link | ||
|} | |} | ||
<templatedata> | |||
{ | |||
"description": "A styled page template for Bankers Guild Funded Build pages. Creates a consistent layout with subtitle, flavour quote, lore text, build details table, and contributions table.", | |||
"format": "block", | |||
"params": { | |||
"subtitle": { | |||
"label": "Subtitle", | |||
"description": "A short tagline or thematic subtitle displayed in gold below the page title", | |||
"example": "A Hearth of Warmth and Sweet Delights", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"quote": { | |||
"label": "Flavour Quote", | |||
"description": "An italicised flavour quote displayed with decorative curly quotes", | |||
"example": "Where the oven glows like the moon and each bite carries the sweetness of the stars.", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"lore": { | |||
"label": "Lore Text", | |||
"description": "The main body text describing the build. Supports full wikitext formatting (bold, italic, links, paragraphs).", | |||
"type": "content", | |||
"required": true | |||
}, | |||
"cost": { | |||
"label": "Cost of Construction", | |||
"description": "The build cost. Use middot (·) to separate currency types. Do NOT use pipe characters (|) here.", | |||
"example": "5 Legends · 3 Myths · 9 Saga", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"location": { | |||
"label": "Location", | |||
"description": "Where the build is located. Typically in ALL CAPS by convention.", | |||
"example": "AVEREAUX - EMBERMOUNT", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"build_code": { | |||
"label": "Unique Build Code", | |||
"description": "The Bankers Guild build code. Displayed in a monospace badge.", | |||
"example": "BG.MRS.09", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"contributions": { | |||
"label": "Contributions", | |||
"description": "Table rows for the contributions table. Use {{!}} for pipes and {{!}}- for row separators. Each row has three columns: Contributor, Source, Amount. Easier to edit in source mode.", | |||
"example": "{{!}} Character Name {{!}}{{!}} Nation {{!}}{{!}} 2 Myths, 5 Sagas", | |||
"type": "content", | |||
"suggested": true | |||
}, | |||
"balance": { | |||
"label": "Remaining Balance", | |||
"description": "The remaining balance shown in the table footer, e.g. PAID IN FULL or an outstanding amount.", | |||
"example": "PAID IN FULL", | |||
"type": "string", | |||
"suggestedvalues": ["PAID IN FULL", "FULLY FUNDED"], | |||
"suggested": true | |||
}, | |||
"nation": { | |||
"label": "Nation", | |||
"description": "The nation this build belongs to. Used to auto-categorise the page.", | |||
"example": "Avereaux", | |||
"type": "string", | |||
"required": true, | |||
"suggestedvalues": ["Avereaux", "Hammerstadt", "Kairos", "Morvalis", "Portavas", "Syradonia", "The Wonder", "Urdrevan", "Valdraeth"] | |||
} | |||
}, | |||
"paramOrder": ["subtitle", "quote", "lore", "cost", "location", "build_code", "contributions", "balance", "nation"] | |||
} | |||
</templatedata> | |||
</noinclude><includeonly><div class="build-page"> | </noinclude><includeonly><div class="build-page"> | ||
Revision as of 10:52, 15 March 2026
Usage
A styled page template for Bankers Guild Funded Build pages. Wraps the build's lore, details, and contribution history in a consistent, attractive layout.
{{BuildPage
|subtitle=A Hearth of Warmth and Sweet Delights
|quote=Where the oven glows like the moon and each bite carries the sweetness of the stars.
|lore=Your build's lore / flavour text goes here. Use standard wikitext formatting (bold, italic, paragraphs etc).
|cost=5 Legends · 3 Myths · 9 Sagas
|location=AVEREAUX – EMBERMOUNT
|build_code=BG.MRS.09
|contributions=
{{!}} Bankers Guild {{!}}{{!}} Valdraeth {{!}}{{!}} 1 Legend, 5 Myths, 5 Sagas
{{!}}-
{{!}} Avereaux Nation {{!}}{{!}} National Support Fund {{!}}{{!}} 3 Myths
|balance=PAID IN FULL
|nation=Avereaux
}}
Parameters
| Parameter | Required | Description |
|---|---|---|
| subtitle | No | A short tagline or thematic subtitle for the build |
| quote | No | A flavour quote displayed in italics below the subtitle |
| lore | Yes | The main body text / lore description of the build |
| cost | No | 3 Myths | 9 Sagas") |
| location | No | Build location (e.g. "AVEREAUX – EMBERMOUNT") |
| build_code | No | Unique build ID code (e.g. "BG.MRS.09") |
| contributions | No | Contribution table rows. Each row uses wiki table syntax. |
| balance | No | Remaining balance status (e.g. "PAID IN FULL") |
| nation | No | Nation name, used for categories and back-link |
A styled page template for Bankers Guild Funded Build pages. Creates a consistent layout with subtitle, flavour quote, lore text, build details table, and contributions table.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Subtitle | subtitle | A short tagline or thematic subtitle displayed in gold below the page title
| String | suggested |
| Flavour Quote | quote | An italicised flavour quote displayed with decorative curly quotes
| String | suggested |
| Lore Text | lore | The main body text describing the build. Supports full wikitext formatting (bold, italic, links, paragraphs). | Content | required |
| Cost of Construction | cost | The build cost. Use middot (·) to separate currency types. Do NOT use pipe characters (|) here.
| String | suggested |
| Location | location | Where the build is located. Typically in ALL CAPS by convention.
| String | suggested |
| Unique Build Code | build_code | The Bankers Guild build code. Displayed in a monospace badge.
| String | suggested |
| Contributions | contributions | Table rows for the contributions table. Use {{!}} for pipes and {{!}}- for row separators. Each row has three columns: Contributor, Source, Amount. Easier to edit in source mode.
| Content | suggested |
| Remaining Balance | balance | The remaining balance shown in the table footer, e.g. PAID IN FULL or an outstanding amount.
| String | suggested |
| Nation | nation | The nation this build belongs to. Used to auto-categorise the page.
| String | required |