|
|
| Line 12: |
Line 12: |
| JSON-content pages consumed by the Modules. The field names + nested shapes are the contract — Modules look up specific keys. Editing values is safe; renaming keys or restructuring objects breaks rendering until the next re-publish regenerates them. | | JSON-content pages consumed by the Modules. The field names + nested shapes are the contract — Modules look up specific keys. Editing values is safe; renaming keys or restructuring objects breaks rendering until the next re-publish regenerates them. |
|
| |
|
| {| class="wikitable" | | {| class="wikitable" style="background:var(--table-row-odd, #1b1c20);color:var(--table-text, #e6e6e6);border-color:var(--table-border, #3a3c44);" |
| ! Data page !! Shape !! Size | | ! style="background:var(--table-header-bg, #26272e);color:var(--infobox-header-fg, #f1e9d2);" | Data page !! style="background:var(--table-header-bg, #26272e);color:var(--infobox-header-fg, #f1e9d2);" | Shape !! style="background:var(--table-header-bg, #26272e);color:var(--infobox-header-fg, #f1e9d2);" | Size |
| |- | | |- |
| | [[Data:Achievements.json]] || category envelope ({category, aggregation_mode, record_count, records[]}) loaded by Module:Achievements || 34 KiB | | | [[Data:Achievements.json]] || category envelope ({category, aggregation_mode, record_count, records[]}) loaded by Module:Achievements || 34 KiB |
| Line 64: |
Line 64: |
| === Shared Modules (used across every category) === | | === Shared Modules (used across every category) === |
|
| |
|
| {| class="wikitable" | | {| class="wikitable" style="background:var(--table-row-odd, #1b1c20);color:var(--table-text, #e6e6e6);border-color:var(--table-border, #3a3c44);" |
| ! Module !! Purpose !! Edit policy | | ! style="background:var(--table-header-bg, #26272e);color:var(--infobox-header-fg, #f1e9d2);" | Module !! style="background:var(--table-header-bg, #26272e);color:var(--infobox-header-fg, #f1e9d2);" | Purpose !! style="background:var(--table-header-bg, #26272e);color:var(--infobox-header-fg, #f1e9d2);" | Edit policy |
| |- | | |- |
| | [[Module:CrossRef]] || Renders forward + reverse cross-references between entities || Editable; field-name changes get overwritten on re-publish | | | [[Module:CrossRef]] || Renders forward + reverse cross-references between entities || Editable; field-name changes get overwritten on re-publish |
| Line 78: |
Line 78: |
| One per first-class category. Edits persist until the next scheduled re-publish regenerates them — so changes to the rendering logic ''that don't touch the data-binding field names'' are fine for short-lived experiments. | | One per first-class category. Edits persist until the next scheduled re-publish regenerates them — so changes to the rendering logic ''that don't touch the data-binding field names'' are fine for short-lived experiments. |
|
| |
|
| {| class="wikitable" | | {| class="wikitable" style="background:var(--table-row-odd, #1b1c20);color:var(--table-text, #e6e6e6);border-color:var(--table-border, #3a3c44);" |
| ! Module !! Category !! Records | | ! style="background:var(--table-header-bg, #26272e);color:var(--infobox-header-fg, #f1e9d2);" | Module !! style="background:var(--table-header-bg, #26272e);color:var(--infobox-header-fg, #f1e9d2);" | Category !! style="background:var(--table-header-bg, #26272e);color:var(--infobox-header-fg, #f1e9d2);" | Records |
| |- | | |- |
| | [[Module:Achievements]] || Achievements || 100 | | | [[Module:Achievements]] || Achievements || 100 |
| Line 110: |
Line 110: |
| Infobox templates (one per category) + navbox templates (one per navbox-enabled category). Same overwrite rule: re-publishes regenerate the parameter list + Pattern-B rows; cosmetic prose (e.g. an added intro paragraph above the infobox call) won't persist. | | Infobox templates (one per category) + navbox templates (one per navbox-enabled category). Same overwrite rule: re-publishes regenerate the parameter list + Pattern-B rows; cosmetic prose (e.g. an added intro paragraph above the infobox call) won't persist. |
|
| |
|
| {| class="wikitable" | | {| class="wikitable" style="background:var(--table-row-odd, #1b1c20);color:var(--table-text, #e6e6e6);border-color:var(--table-border, #3a3c44);" |
| ! Template !! Kind !! Used by | | ! style="background:var(--table-header-bg, #26272e);color:var(--infobox-header-fg, #f1e9d2);" | Template !! style="background:var(--table-header-bg, #26272e);color:var(--infobox-header-fg, #f1e9d2);" | Kind !! style="background:var(--table-header-bg, #26272e);color:var(--infobox-header-fg, #f1e9d2);" | Used by |
| |- | | |- |
| | [[Template:Achievements_infobox]] || Infobox || Every Achievements detail page | | | [[Template:Achievements_infobox]] || Infobox || Every Achievements detail page |
| Line 166: |
Line 166: |
| Generic templates shipped on every wiki by the bot. These are also overwritten on re-publish, but their bodies don't change between games — durable improvements go upstream in the template library. | | Generic templates shipped on every wiki by the bot. These are also overwritten on re-publish, but their bodies don't change between games — durable improvements go upstream in the template library. |
|
| |
|
| {| class="wikitable" | | {| class="wikitable" style="background:var(--table-row-odd, #1b1c20);color:var(--table-text, #e6e6e6);border-color:var(--table-border, #3a3c44);" |
| ! Template !! Purpose | | ! style="background:var(--table-header-bg, #26272e);color:var(--infobox-header-fg, #f1e9d2);" | Template !! style="background:var(--table-header-bg, #26272e);color:var(--infobox-header-fg, #f1e9d2);" | Purpose |
| |- | | |- |
| | [[Template:Tip]] || Highlighted tip / callout box | | | [[Template:Tip]] || Highlighted tip / callout box |