Difference between revisions of "Template:Content"

From VGD Wiki Farm
 
(5 intermediate revisions by the same user not shown)
Line 6: Line 6:
 
|Location={{{Location|}}}
 
|Location={{{Location|}}}
 
}}
 
}}
[[Category:{{{Topic|}}}]]
 
 
{{#default_form: Content}}
 
{{#default_form: Content}}
 
</div>
 
</div>
 
<div class="d-flex flex-column float-lg-right">
 
<div class="d-flex flex-column float-lg-right">
 
<div class="gas-infobox card">
 
<div class="gas-infobox card">
<div class="card-header p-1 pl-3 d-flex align-items-center justify-content-between font-weight-bold"><i class="fab fa-discord"></i> [https://discord.gg/Nkfr6P6TTq Join our Discord] <!--
+
<div class="card-header p-1 pl-3 d-flex align-items-center justify-content-between font-weight-bold">{{#widget:discord-invite}} <!--
 
-->[{{fullurl: {{FULLPAGENAME}}|action=formedit}} <span class="mw-ui-button iconify small float-right p-1" title="Edit semantic data"><i class="fas fa-pencil-alt"></i></span>]</div>
 
-->[{{fullurl: {{FULLPAGENAME}}|action=formedit}} <span class="mw-ui-button iconify small float-right p-1" title="Edit semantic data"><i class="fas fa-pencil-alt"></i></span>]</div>
 
<div class="card-body">
 
<div class="card-body">
Line 104: Line 103:
 
</div>
 
</div>
 
</div>
 
</div>
 +
<!-- SEO -->
 +
{{#seo:
 +
|title={{PAGENAME}} - {{SITENAME}}
 +
|titlemode=append
 +
|keywords={{#arraymap:{{{Topic|}}}|;|@|@|, }}{{#if: {{{Tags|}}}|,{{#arraymap: {{{Tags|}}}|;|@|@|,}}}}
 +
|description={{{Brief|{{PAGENAME}}}}}
 +
|og:type=article
 +
|og:site_name={{SITENAME}}
 +
|og:locale=en_US
 +
|article:publisher={{SITENAME}}
 +
|article:section={{#arraymap:{{{Topic|}}}|;|@|@|, }}
 +
|article:tag={{#arraymap:{{{Tags|}}}|;|@|@|, }}
 +
|article:modified_time={{#show:{{FULLPAGENAME}}|?Modification date#iso}}
 +
|article:published_time={{#show:{{FULLPAGENAME}}|?Creation date#iso}}
 +
}}
 
</includeonly>
 
</includeonly>
 
<noinclude>
 
<noinclude>
Line 110: Line 124:
 
"params": {
 
"params": {
 
"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.",
 
"type": "string",
 
"type": "string",
 
"required": true
 
"required": true
Line 119: Line 133:
 
},
 
},
 
"Tags": {
 
"Tags": {
"description": "Semi-colon delimited arbitrary labels to additionally categorize articles.",
+
"description": "Semi-colon delimited arbitrary labels to categorize articles additionally.",
 
"type": "string"
 
"type": "string"
 
},
 
},
 
"Location": {
 
"Location": {
"description": "For Event pages. The place of an event.",
+
"description": "The in game place of a subject",
 
"type": "string"
 
"type": "string"
 
}
 
}
 
},
 
},
"description": "Generic content metadata and approval policy.",
+
"description": "Generic content metadata.",
 
"format": "block",
 
"format": "block",
 
"paramOrder": [
 
"paramOrder": [

Latest revision as of 21:10, 15 January 2021


Generic content metadata.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
TopicTopic

A semi-colon delimited list of topics the article is categorized under.

Stringrequired
BriefBrief

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

Contentoptional
TagsTags

Semi-colon delimited arbitrary labels to categorize articles additionally.

Stringoptional
LocationLocation

The in game place of a subject

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