Template:Jargon: Difference between revisions

From CivWiki
Jump to navigation Jump to search
Content added Content deleted
(attempt to unlink jargon list elements)
(more prominent main article in jargon)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
* <span id="{{{redirect}}}"></span>{{#if:{{{redirect2|}}}|<span id="{{{redirect2}}}"></span>|}}{{#if:{{{redirect3|}}}|<span id="{{{redirect3}}}"></span>|}}{{#if:{{{redirect4|}}}|<span id="{{{redirect4}}}"></span>|}}{{#if:{{{redirect5|}}}|<span id="{{{redirect5}}}"></span>|}}'''{{{jargon}}}''': {{{description}}}
* <span id="{{{redirect}}}"></span>{{#if:{{{redirect2|}}}|<span id="{{{redirect2}}}"></span>|}}{{#if:{{{redirect3|}}}|<span id="{{{redirect3}}}"></span>|}}{{#if:{{{redirect4|}}}|<span id="{{{redirect4}}}"></span>|}}{{#if:{{{redirect5|}}}|<span id="{{{redirect5}}}"></span>|}}'''{{{jargon}}}''': {{{description}}}{{#if:{{{main|}}}|{{Main|{{{main}}}}}|}}<noinclude>{{Documentation}}
<noinclude>{{Documentation}}
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
<templatedata>
<templatedata>
{
{
Line 39: Line 37:
"description": "fifth optional redirect",
"description": "fifth optional redirect",
"type": "string"
"type": "string"
}
},
"main": {
"description": "name of the main article to link to",
"type": "string"
}
},
},
"description": "This template is to be used on the Jargon page."
"description": "This template is to be used on the Jargon page."

Latest revision as of 23:53, 27 November 2023

  • {{{jargon}}}: {{{description}}}
Template documentation[create]

This template is to be used on the Jargon page.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
redirectredirect

the redirect that will allow the term to be linked. DON'T INCLUDE SPACES

Example
acid_blocking
Stringrequired
jargonjargon

the name of the jargon

Example
acid blocking
Stringrequired
descriptiondescription

a description for the jargon

Example
The act of purposefully [[#Reinforce|reinforcing]] gold blocks to remove reinforced blocks, for example [[#Grief|grief]] or derelict builds.
Stringrequired
redirect2redirect2

second redirect in case it's needed. DON'T USE SPACES ON THE REDIRECT

Example
acid_verb
Stringoptional
redirect3redirect3

third optional redirect

Stringoptional
redirect4redirect4

fourth optional redirect

Stringoptional
redirect5redirect5

fifth optional redirect

Stringoptional
mainmain

name of the main article to link to

Stringoptional