Template:Jargon: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
Metriximor (talk | contribs) (added a optional second redirect) |
(more prominent main article in jargon) |
||
(8 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
* <span id="{{{redirect}}}"></span>{{#if{{{redirect2|}}}|<span id="{{{redirect2}}}"></span>}} |
* <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 27: | Line 25: | ||
"example": "acid_verb", |
"example": "acid_verb", |
||
"type": "string" |
"type": "string" |
||
} |
}, |
||
"redirect3": { |
|||
"description": "third optional redirect", |
|||
"type": "string" |
|||
}, |
|||
"redirect4": { |
|||
"description": "fourth optional redirect", |
|||
"type": "string" |
|||
}, |
|||
"redirect5": { |
|||
"description": "fifth optional redirect", |
|||
"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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
redirect | redirect | the redirect that will allow the term to be linked. DON'T INCLUDE SPACES
| String | required |
jargon | jargon | the name of the jargon
| String | required |
description | description | a description for the jargon
| String | required |
redirect2 | redirect2 | second redirect in case it's needed. DON'T USE SPACES ON THE REDIRECT
| String | optional |
redirect3 | redirect3 | third optional redirect | String | optional |
redirect4 | redirect4 | fourth optional redirect | String | optional |
redirect5 | redirect5 | fifth optional redirect | String | optional |
main | main | name of the main article to link to | String | optional |