Difference between revisions of "Template:Content"

From VGD Wiki Farm
Line 1: Line 1:
 
<includeonly><div class="d-none">
 
<includeonly><div class="d-none">
 
{{#set:
 
{{#set:
|Subject={{{Subject|{{PAGENAME}}}}}
 
 
|Topic={{{Topic|}}}|+sep=;
 
|Topic={{{Topic|}}}|+sep=;
 
|Tag={{lc:{{{Tags|}}}}}|+sep=;
 
|Tag={{lc:{{{Tags|}}}}}|+sep=;
Line 110: Line 109:
 
{
 
{
 
"params": {
 
"params": {
"Subject": {
 
"description": "The description of the article subject thet will be used as page name.",
 
"type": "string",
 
"required": true
 
},
 
 
"Topic": {
 
"Topic": {
 
"description": "A semi-colon delimited list of topics the article is categorized under. Omitted for Jobs pages.",
 
"description": "A semi-colon delimited list of topics the article is categorized under. Omitted for Jobs pages.",
 
"type": "string",
 
"type": "string",
 
"required": true
 
"required": true
 +
},
 +
"Brief": {
 +
"description": "Short announce of the article content to be used in infoboxes, lists, etc.",
 +
"type": "content"
 
},
 
},
 
"Tags": {
 
"Tags": {
Line 127: Line 125:
 
"description": "For Event pages. The place of an event.",
 
"description": "For Event pages. The place of an event.",
 
"type": "string"
 
"type": "string"
},
 
"Brief": {
 
"description": "Short announce of the article content to be used in infoboxes, lists, etc.",
 
"type": "content"
 
 
}
 
}
 
},
 
},
Line 136: Line 130:
 
"format": "block",
 
"format": "block",
 
"paramOrder": [
 
"paramOrder": [
"Subject",
 
 
"Topic",
 
"Topic",
 +
"Brief",
 
"Tags",
 
"Tags",
"Location",
+
"Location"
"Brief"
 
 
]
 
]
 
}
 
}

Revision as of 09:25, 4 January 2021


Generic content metadata and approval policy.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
TopicTopic

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

Stringrequired
BriefBrief

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

Contentoptional
TagsTags

Semi-colon delimited arbitrary labels to additionally categorize articles.

Stringoptional
LocationLocation

For Event pages. The place of an event.

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