Jump to content

Template:GameModule: Difference between revisions

From The Sovereign Games (MoA Lab)
Calibration Report | 2026-07-13 | Self-Assessment | Updated noinclude documentation block to point to Template:GameModule/doc, added note clarifying the SMW namespace bug (found on the two /doc pages) does not affect this template's own #set output since it executes on the calling page's namespace, not the template's own. No functional code changed. See Talk for full report.
No edit summary
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<noinclude>
<div style="float:right; border:1px solid #a2a9b1; background-color:#f8f9fa; padding:14px; margin:10px 0 30px 25px; border-radius:8px; width:320px; box-shadow:0 2px 8px rgba(0,0,0,0.08); font-size:0.93em;">
This is the main metadata template for Sovereign Games pages.
<!-- Sovereign Games Social Preview Image -->
 
<span style="display:none;">{{#setmainimage:Sovereign-Games-OG-Image.jpg}}</span>
== Usage ==
<nowiki>{{GameModule
| type =
| category =
| Calibration Type =
| Application Layer =
| Version =
| Maturity =
| Last Updated =
| description =
| contents =
}}</nowiki>
</noinclude><includeonly>
 
<!-- Semantic MediaWiki Properties -->
<!-- Semantic MediaWiki Properties -->
{{#set:
{{#set:
| Has module type = {{{type|}}}
| Has module type = {{{type|}}}
| Has functional layer = {{{Functional Layer|}}}
| Has calibration type = {{{Calibration Type|}}}
| Has application layer = {{{Application Layer|}}}
| Has application layer = {{{Application Layer|}}}
| Has module version = {{{Version|}}}
| Has module version = {{{Version|}}}
Line 13: Line 26:
| Has module description = {{{description|}}}
| Has module description = {{{description|}}}
}}
}}
<div style="float:right; border:1px solid #a2a9b1; background-color:#f8f9fa; padding:14px; margin:10px 0 30px 25px; border-radius:8px; width:320px; box-shadow:0 2px 8px rgba(0,0,0,0.08); font-size:0.93em;">
<!-- Sovereign Games Social Preview Image -->
<span style="display:none;">{{#setmainimage:Sovereign-Games-OG-Image.jpg}}</span>
<!-- ========== CONTENTS SECTION ========== -->
<!-- ========== CONTENTS SECTION ========== -->
<div style="margin-top:12px; padding:12px 16px; background-color:#f8f9fa; border:1px solid #ddd; border-radius:6px;">
<div style="margin-top:12px; padding:12px 16px; background-color:#f8f9fa; border:1px solid #ddd; border-radius:6px;">
Line 19: Line 37:
</div>
</div>
</div>
</div>
== Meta ==
== Meta ==
'''{{{name|{{PAGENAME}}}}}'''
'''{{{name|{{PAGENAME}}}}}'''
Line 26: Line 45:
|-
|-
! style="text-align:left; padding:6px 8px; border-bottom:1px solid #ddd;" | Functional Layer
! style="text-align:left; padding:6px 8px; border-bottom:1px solid #ddd;" | Functional Layer
| style="padding:6px 8px; border-bottom:1px solid #ddd;" | {{{Functional Layer|}}}
| style="padding:6px 8px; border-bottom:1px solid #ddd;" | {{{Calibration Type|}}}
|-
|-
! style="text-align:left; padding:6px 8px; border-bottom:1px solid #ddd;" | Application Layer
! style="text-align:left; padding:6px 8px; border-bottom:1px solid #ddd;" | Application Layer
Line 40: Line 59:
| style="padding:6px 8px; border-bottom:1px solid #ddd;" | {{{Maturity|}}}
| style="padding:6px 8px; border-bottom:1px solid #ddd;" | {{{Maturity|}}}
|-
|-
! style="text-align:left; padding:6px 8px; border-bottom:1px solid #ddd;" | Last Updated
! style="text-align:left; padding:6px 8px; border-bottom:1px solid #ddd;" | Last Calibration
| style="padding:6px 8px; border-bottom:1px solid #ddd;" | {{{Last Updated|}}}
| style="padding:6px 8px; border-bottom:1px solid #ddd;" | {{{Last Updated|}}}
|-
|-
Line 64: Line 83:
* [[The Royal Cubit Civilization (Strategy)]]
* [[The Royal Cubit Civilization (Strategy)]]
</div>
</div>
</includeonly>
</includeonly>
<noinclude>
This is the main metadata template for Sovereign Games pages. It renders the page header (title, meta table) and a right-side navigation box on every page that uses it.
For full field explanations, controlled vocabularies, and usage instructions, see [[Template:GameModule/doc|the documentation page]].
'''Note on this template's `#set` block:''' The Semantic MediaWiki data set by this template is written to whichever page transcludes <nowiki>{{GameModule}}</nowiki>, not to this template page itself. Since nearly all pages using this template live in the main namespace (not Template:), the SMW namespace-exclusion issue found and fixed on [[Template:Admin Page Status/doc]] and [[Template:GameModule/doc]] generally does not affect this template's own output — but if <nowiki>{{GameModule}}</nowiki> is ever used on a page inside Template: namespace, the same fix applies there.
</noinclude>

Latest revision as of 13:38, 19 July 2026

This is the main metadata template for Sovereign Games pages.

Usage

{{GameModule | type = | category = | Calibration Type = | Application Layer = | Version = | Maturity = | Last Updated = | description = | contents = }}