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:
}}
}}


<noinclude>
 
===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 data

A template for creating other meta notice templates. (Eg.: Stub, WIP, Old, Delete)

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Contentcontent 1

The notice's content

Example
This page is a stub. Edit to expand it.
Stringrequired
Namename 2

The notice's name. This is required for proper sorting.

Example
Stub
Stringrequired
Border colorborder

Optional property for setting the color of the dashed border

Default
red
Example
purple
Stringsuggested
Further stylingstyle

Optional parameter for setting further CSS styles.

Stringsuggested
This page was last modified on 12 July 2022, at 01:00. (11 months ago)