Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
You must create an account or log in to edit.

Template:ScopeBox: Difference between revisions

Template page
Content deleted Content added
No edit summary
Tag: 2017 source edit
No edit summary
Tag: 2017 source edit
Line 1: Line 1:
<templatestyles src="ScopeBox/styles.css"/><templatestyles src="ScopeBox/styles-{{{identifier}}}.css"/><div class="template-ScopeBox">[[Scope:{{{link}}}|{{{link}}}]]</div><noinclude>
<templatestyles src="ScopeBox/styles.css"/><templatestyles src="ScopeBox/styles-{{{scope}}}.css"/><div class="template-ScopeBox">[[Scope:{{{scope}}}|{{{scope}}}]]</div><noinclude><templatedata>
<templatedata>
{
{
"params": {
"params": {
"identifier": {
"scope": {
"label": "Identifier",
"label": "Scope",
"description": "The identifier of this scope box",
"description": "The scope to link to",
"example": "vela",
"example": "Cosmoria",
"type": "string",
"type": "string",
"required": true
},
"link": {
"label": "Link",
"description": "Where this scope box should link to",
"example": "Scope:Vela",
"type": "wiki-page-name",
"required": true
"required": true
}
}
},
}
"description": "Nicely formatted box which links to a scope page",
"format": "inline"
}
}
</templatedata>
</templatedata>


==Example==
==Example==
<pre>{{ScopeBox|link=Vela}}</pre>
<pre>{{ScopeBox|scope=Cosmoria}}</pre>
{{ScopeBox|link=Vela}}
{{ScopeBox|scope=Cosmoria}}
</noinclude>
</noinclude>

Revision as of 23:08, February 2, 2025

Page Template:ScopeBox/styles.css has no content.Invalid title for TemplateStyles' src attribute.

[[Scope:{{{scope}}}|{{{scope}}}]]

No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Scopescope

The scope to link to

Example
Cosmoria
Stringrequired

Example

{{ScopeBox|scope=Cosmoria}}

Page Template:ScopeBox/styles.css has no content.Invalid title for TemplateStyles' src attribute.

Contents