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) No edit summary Tag: 2017 source edit |
||
| Line 1: | Line 1: | ||
<templatestyles src="ScopeBox/styles.css"/><templatestyles src="ScopeBox/styles-{{{ |
<templatestyles src="ScopeBox/styles.css"/><templatestyles src="ScopeBox/styles-{{{scope}}}.css"/><div class="template-ScopeBox">[[Scope:{{{scope}}}|{{{scope}}}]]</div><noinclude><templatedata> |
||
<templatedata> |
|||
{ |
{ |
||
"params": { |
"params": { |
||
" |
"scope": { |
||
"label": " |
"label": "Scope", |
||
"description": "The |
"description": "The scope to link to", |
||
"example": " |
"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| |
<pre>{{ScopeBox|scope=Cosmoria}}</pre> |
||
{{ScopeBox| |
{{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.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Scope | scope | The scope to link to
| String | required |
Example
{{ScopeBox|scope=Cosmoria}}
Page Template:ScopeBox/styles.css has no content.Invalid title for TemplateStyles' src attribute.