Template
Meta notice
From Dogcraft Wiki
m (proper documentation + templatedata) |
mNo edit summary |
||
Line 8: | Line 8: | ||
===Example(s)=== | ===Example(s)=== | ||
<pre>{{meta notice | <pre style="white-space:pre-line;">{{meta notice | ||
|content=This article is currently just a stub. You can [https://dogcraft.net/wiki/index.php?title={{FULLPAGENAMEE}}&action=edit edit it] and add more information! | |content=This article is currently just a stub. You can [https://dogcraft.net/wiki/index.php?title={{FULLPAGENAMEE}}&action=edit edit it] and add more information! | ||
|name=Stub | |name=Stub | ||
Line 16: | Line 16: | ||
}} | }} | ||
< | |||
===List of meta notices=== | |||
<DynamicPageList> | |||
category = Meta notice templates | |||
namespace = template | |||
</DynamicPageList> | |||
===Template data=== | |||
<templatedata> | <templatedata> | ||
{ | { | ||
Line 63: | Line 71: | ||
"border", | "border", | ||
"style" | "style" | ||
] | ], | ||
"description": "A template for creating other meta notice templates. (Eg.: Stub, WIP, Old, Delete)" | |||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> |
Revision as of 01:00, 12 July 2022
Meta notice template
This is a template for creating a meta notice banner on pages. Useful for communicating information about the state/status of the page, eg.: it is a work-in-progress, or is very short and should be expanded. This template is meant to be used to base other templates off of and should 'not' be directly used. If you want to add a notice to a page, use {{Notice}} or one of it's children.
See Category:Notice templates for other templates based on this one.
Example(s)
{{meta notice |content=This article is currently just a stub. You can [https://dogcraft.net/wiki/index.php?title={{FULLPAGENAMEE}}&action=edit edit it] and add more information! |name=Stub }}
generates:
List of meta notices
- Template:UpdateNeeded
- Template:OutOfDate
- Template:Unavailable
- Template:Expansion
- Template:Meta notice
- Template:NeedsImages
- Template:Delete
- Template:WIP
- Template:Old
- Template:Stub
Template data
A template for creating other meta notice templates. (Eg.: Stub, WIP, Old, Delete)
Parameter | Description | Type | Status | |
---|---|---|---|---|
Content | content 1 | The notice's content
| String | required |
Name | name 2 | The notice's name. This is required for proper sorting.
| String | required |
Border color | border | Optional property for setting the color of the dashed border
| String | suggested |
Further styling | style | Optional parameter for setting further CSS styles. | String | suggested |