Difference between revisions of "Template:Content"

From VGD Wiki Farm
(Created page with "<includeonly><div class="d-none"> {{#set: |Subject={{{Subject|}}} |Topic={{{Topic|}}}|+sep=; |Tag={{lc:{{{Tags|}}}}}|+sep=; |Brief={{{Brief|}}} |Location={{{Location|}}} }} ...")
 
Line 105: Line 105:
 
</includeonly>
 
</includeonly>
 
<noinclude>
 
<noinclude>
 +
<templatedata>
 +
{
 +
"params": {
 +
"Subject": {
 +
"description": "The description of the article subject thet will be used as page name.",
 +
"type": "string",
 +
"required": true
 +
},
 +
"Topic": {
 +
"description": "A semi-colon delimited list of topics the article is categorized under. Omitted for Jobs pages.",
 +
"type": "string",
 +
"required": true
 +
},
 +
"Tags": {
 +
"description": "Semi-colon delimited arbitrary labels to additionally categorize articles.",
 +
"type": "string"
 +
},
 +
"Location": {
 +
"description": "For Event pages. The place of an event.",
 +
"type": "string"
 +
},
 +
"Brief": {
 +
"description": "Short announce of the article content to be used in infoboxes, lists, etc.",
 +
"type": "content"
 +
}
 +
},
 +
"description": "Generic content metadata and approval policy.",
 +
"format": "block",
 +
"paramOrder": [
 +
"Subject",
 +
"Topic",
 +
"Tags",
 +
"Location",
 +
"Brief"
 +
]
 +
}
 +
</templatedata>
 
<pre>
 
<pre>
 
{{Content
 
{{Content

Revision as of 01:31, 4 January 2021


Generic content metadata and approval policy.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
SubjectSubject

The description of the article subject thet will be used as page name.

Stringrequired
TopicTopic

A semi-colon delimited list of topics the article is categorized under. Omitted for Jobs pages.

Stringrequired
TagsTags

Semi-colon delimited arbitrary labels to additionally categorize articles.

Stringoptional
LocationLocation

For Event pages. The place of an event.

Stringoptional
BriefBrief

Short announce of the article content to be used in infoboxes, lists, etc.

Contentoptional
{{Content
|Subject      =
|Topic        =
|Tags         =
|Brief        =
|Location     = 
}}