Template:ScopeBox: Difference between revisions
Template page
More actions
Content deleted Content added
Tesinormed (talk | contribs) No edit summary Tag: 2017 source edit |
Tesinormed (talk | contribs) m Protected "Template:ScopeBox" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) [cascading] |
||
| (10 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| ⚫ | |||
<includeonly><templatestyles src="ScopeBox/styles.css"/><div class="template-ScopeBox template-ScopeBox--{{{scope}}}"> |
|||
<div class="template-ScopeBox-content"> |
|||
<div>[[File:{{{symbol}}}|80px|link=|alt=]]</div> |
|||
<div>[[Scope:{{{scope}}}|{{{scope}}}]]</div> |
|||
<div>[[File:{{{symbol}}}|80px|link=|alt=]]</div> |
|||
</div> |
|||
| ⚫ | |||
{ |
{ |
||
"params": { |
"params": { |
||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
"symbol": { |
"symbol": { |
||
"label": "Symbol", |
"label": "Symbol", |
||
| Line 20: | Line 7: | ||
"example": "Cosmoria Symbol.png", |
"example": "Cosmoria Symbol.png", |
||
"type": "wiki-file-name", |
"type": "wiki-file-name", |
||
"suggested": true |
|||
| ⚫ | |||
"left_symbol": { |
|||
"label": "Left symbol", |
|||
"type": "wiki-file-name" |
|||
}, |
|||
"right_symbol": { |
|||
"label": "Right symbol", |
|||
"type": "wiki-file-name" |
|||
}, |
|||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
}, |
|||
"identifier": { |
|||
"label": "Identifier", |
|||
"description": "The identifier of this scope box", |
|||
"example": "cosmoria", |
|||
"type": "string", |
|||
"required": true |
"required": true |
||
} |
} |
||
}, |
}, |
||
"description": "Nicely formatted box for linking to your Scope's overview page", |
"description": "Nicely formatted box for linking to your Scope's overview page", |
||
"format": "inline" |
"format": "inline", |
||
"paramOrder": [ |
|||
"identifier", |
|||
"link", |
|||
"symbol", |
|||
"left_symbol", |
|||
"right_symbol" |
|||
] |
|||
} |
} |
||
</templatedata> |
</templatedata> |
||
== |
==Examples== |
||
<pre |
<pre>{{ScopeBox|identifier=cosmoria|link=Cosmoria|symbol=Cosmoria Symbol.png}}</pre> |
||
{{ScopeBox|identifier=cosmoria|link=Cosmoria|symbol=Cosmoria Symbol.png}} |
|||
<pre>{{ScopeBox|identifier=chromagaia|link=Chromagaia|symbol=Chromagaia-Glyph.png}}</pre> |
|||
{{ScopeBox|identifier=chromagaia|link=Chromagaia|symbol=Chromagaia-Glyph.png}} |
|||
</noinclude> |
</noinclude> |
||
Latest revision as of 10:53, September 11, 2025
Nicely formatted box for linking to your Scope's overview page
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Identifier | identifier | The identifier of this scope box
| String | required |
| Link | link | The Scope page to link to
| String | required |
| Symbol | symbol | The Scope symbol to put on the sides
| File | suggested |
| Left symbol | left_symbol | no description | File | optional |
| Right symbol | right_symbol | no description | File | optional |
Examples
{{ScopeBox|identifier=cosmoria|link=Cosmoria|symbol=Cosmoria Symbol.png}}
{{ScopeBox|identifier=chromagaia|link=Chromagaia|symbol=Chromagaia-Glyph.png}}