float= The Red Rook (cover).png

Parallel Visions: City of Angels City of Demons ebook and trade paperback available on Amazon (or here).
The question of whether Vance was dead or not became more than academic when he found himself in a bathtub up to his chin in ice water like some forgotten cocktail garnish, a demonic woman standing over him, and no memory of how he got there.
Read free chapters of Parallel Visions: City of Angels City of Demons here
The Red Rook, sequel to Dispensing Justice and the second novel of Nova Genesis World is now available for Kindle or as a paperback at Amazon.
Read free chapters of Dispensing Justice here (or get it here).
Read free chapters of The Red Rook here (or get it here). -- Fritz Freiheit

Dispensing Justice (cover).png 20th Annual Writer's Digest Self-Published Book Awards - Honorable Mention.png

MediaWiki Templates

From FritzWiki
(Redirected from MetaWiki Templates)
Jump to: navigation, search

See http://www.mediawiki.org/wiki/Template

See http://www.mediawiki.org/wiki/Category:Template_extensions

Special:ExpandTemplates

Templates[edit]

Template:brokenLink 
Declare a broken (external) link.
Template:cat  
Include a category.
Template:catdef  
Definition for a category.
Template:catsC  
Include a set of categories that include Concept Cluster.
Template:catsDC  
Include a set of categories that include Definition Cluster.
Template:catsD  
Include a set of categories that include Definition.
Template:catsGND  
Include a set of categories that include Glossary Nexium Definition
Template:catsNDC  
Include a set of categories that include Nexus Definition Cluster.
Template:catsWD  
Include a set of categories that include Writing Definition
Template:catsWDC  
Include a set of categories that include Writing, Definition Cluster.
Template:catsWWD  
Include a set of categories that include Wiki Definition
Template:cats  
Include a set of categories.
Template:characterBackground
Template:characterDefinition
Template:characterDescription
Template:characterHabits
Template:citeInline
Template:da  
Include in an alias of a glossary definition list as a definition entry.
Template:dcat  
Include in a glossary definition as a category definition.
Template:dcore  
Include in a wiki definition article to define a link to a template.
Template:dd  
Include in a glossary definition list as a definition entry.
Template:def  
definition template (Category:Definition), intended for 'subst:' use.
Template:defgn  
definition template (Category:Glossary Nexium Definition), intended for 'subst:' use.
Template:defgna  
definition template (Category:Glossary Nexium Definition and Category:Appropriated Term), intended for 'subst:' use.
Template:defsdg  
definition template (Category:The Shaper's Daughter Definition), intended for 'subst:' use.
Template:dl  
Include a glossary definition in a (star) list.
Template:dn  
Include a glossary definition in a (number) list.
Template:dplural
Template:dsee
Template:dslang
Template:dverb
Template:dwho
Template:inContext
Template:lb  
Just a {{
Template:li  
list item
Template:lid  
list item with definition
Template:pluralize 
Turn word into plural. Needs to take special cases into account.
Template:rb  
Just a }}
Template:seeSpoiler 
Link with spoiler warning
Template:seeWikipedia
Template:subst  
Just a {{subst:
Template:todoD  
ToDo catsD
Template:todoGND  
ToDo catsGND
Template:todoWD  
ToDo catsWD
Template:todoWWD  
ToDo catsWWD
Template:todo  
ToDo cats
Template:tododef  
ToDo Definition
Template:tpagename 
Declare a template from pagename

Template Code[edit]

cat[edit]

<onlyinclude>{{registerCat|{{{1}}}}}[[Category:{{{1|}}}]]</onlyinclude><noinclude> {{layoutTDoc | parameters = ; 1 : The Category | examples = <pre class="CodeBox"> {{cat|Test}} </pre> Results: <pre class="CodeBox"> {{registerCat|{{{Test}}}}}[[Category:Test]] </pre> | subtemplates = * {{templateLinks|RegisterCat}} | catsRest = {{catsT|Category}} | tags = {{tagsT|Category}} | see = * {{templateLinks|Cat}} * {{templateLinks|Cat1}} * {{templateLinks|Cats1}} }} </noinclude>

cats[edit]

<includeonly><!-- -->{{#if:{{{1|}}}|{{cat1|{{{1}}}}}{{#if:{{{nonav|}}}||{{mapCat2Nav|{{{1}}}}}}}|}}<!-- -->{{#if:{{{2|}}}|{{cat1|{{{2}}}}}{{#if:{{{nonav|}}}||{{mapCat2Nav|{{{2}}}}}}}|}}<!-- -->{{#if:{{{3|}}}|{{cat1|{{{3}}}}}{{#if:{{{nonav|}}}||{{mapCat2Nav|{{{3}}}}}}}|}}<!-- -->{{#if:{{{4|}}}|{{cat1|{{{4}}}}}{{#if:{{{nonav|}}}||{{mapCat2Nav|{{{4}}}}}}}|}}<!-- -->{{#if:{{{5|}}}|{{cat1|{{{5}}}}}{{#if:{{{nonav|}}}||{{mapCat2Nav|{{{5}}}}}}}|}}<!-- -->{{#if:{{{6|}}}|{{cat1|{{{6}}}}}{{#if:{{{nonav|}}}||{{mapCat2Nav|{{{6}}}}}}}|}}<!-- -->{{#if:{{{7|}}}|{{cat1|{{{7}}}}}{{#if:{{{nonav|}}}||{{mapCat2Nav|{{{7}}}}}}}|}}<!-- -->{{#if:{{{8|}}}|{{cat1|{{{8}}}}}{{#if:{{{nonav|}}}||{{mapCat2Nav|{{{8}}}}}}}|}}<!-- -->{{#if:{{{9|}}}|{{cat1|{{{9}}}}}{{#if:{{{nonav|}}}||{{mapCat2Nav|{{{9}}}}}}}|}}<!-- -->{{#if:{{{10|}}}|{{cat1|{{{10}}}}}{{#if:{{{nonav|}}}||{{mapCat2Nav|{{{10}}}}}}}|}}<!-- -->{{#if:{{{11|}}}|{{cat1|{{{11}}}}}{{#if:{{{nonav|}}}||{{mapCat2Nav|{{{11}}}}}}}|}}<!-- -->{{#if:{{{12|}}}|{{cat1|{{{12}}}}}{{#if:{{{nonav|}}}||{{mapCat2Nav|{{{12}}}}}}}|}}<!-- -->{{#if:{{{13|}}}|{{cat1|{{{13}}}}}{{#if:{{{nonav|}}}||{{mapCat2Nav|{{{13}}}}}}}|}}<!-- -->{{#if:{{{14|}}}|{{cat1|{{{14}}}}}{{#if:{{{nonav|}}}||{{mapCat2Nav|{{{14}}}}}}}|}}<!-- -->{{#if:{{{15|}}}|{{cat1|{{{15}}}}}{{#if:{{{nonav|}}}||{{mapCat2Nav|{{{15}}}}}}}|}}<!-- -->{{#if:{{{16|}}}|{{cat1|{{{16}}}}}{{#if:{{{nonav|}}}||{{mapCat2Nav|{{{16}}}}}}}|}}<!-- -->{{#if:{{{17|}}}|{{cat1|{{{17}}}}}{{#if:{{{nonav|}}}||{{mapCat2Nav|{{{17}}}}}}}|}}<!-- -->{{#if:{{{18|}}}|{{cat1|{{{18}}}}}{{#if:{{{nonav|}}}||{{mapCat2Nav|{{{18}}}}}}}|}}<!-- -->{{#if:{{{19|}}}|{{cat1|{{{19}}}}}{{#if:{{{nonav|}}}||{{mapCat2Nav|{{{19}}}}}}}|}}<!-- -->{{#if:{{{20|}}}|{{cat1|{{{20}}}}}{{#if:{{{nonav|}}}||{{mapCat2Nav|{{{20}}}}}}}|}}<!-- -->{{#if:{{{21|}}}|{{cats0Overflow}}|}}<!-- --></includeonly><noinclude> {{layoutTDoc | catsRest = {{catsTCategory}} | tags = {{tagsTCategory}} | description Transform up to twelve parameters into categories, applying the {{templateLink|MapCats2Nav12}} on each parameter first. | parameters = {{doc0CatsParameters}} | example = <pre class="CodeBox"> {{cats|Test|Work}} </pre> Results: <pre class="CodeBox"> [[Category:Test]] [[Category:Work]] </pre> | parametersAll = <pre class="CodeBox"> {{cats|nonav={{{nonav|}}}|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|{{{7|}}}|{{{8|}}}|{{{9|}}}|{{{10|}}}|{{{11|}}}|{{{12|}}}|{{{13|}}}|{{{14|}}}|{{{15|}}}|{{{16|}}}|{{{17|}}}|{{{18|}}}|{{{19|}}}|{{{20|}}}|{{{21|}}}}} </pre> | subtemplates = * {{templateLinks|Cat1}} * {{templateLinks|Cats0Overflow}} * {{templateLinks|MapCat2Nav}} (add category mapping here) }} </noinclude>

dcat[edit]

<onlyinclude>[[{{{1}}}]] - {{{2|{{{{{1}}}}}}}}</onlyinclude> [[Category:MediaWiki Template]] {{DEFAULTSORT:dcat}}

dcats[edit]

[[:Template:Dcats]]

dd[edit]

<noinclude>{{TOC}}</noinclude><includeonly>''{{nsLink|{{{1|}}}|label={{{label|}}}}}'' :{{templateView|{{#if:{{{2|}}}|{{{2|}}}|{{#if:{{{1|}}}|{{{1|}}}|{{PAGENAME}}}}}}|source={{{source|}}}|noShowSource={{{noShowSource|}}}}}{{#ifexist: Template:{{#if:{{{2|}}}|{{{2|}}}|{{#if:{{{1|}}}|{{{1|}}}|{{PAGENAME}}}}}} | | {{cats1|Needs Definition}} }}</includeonly><noinclude> {{layoutTDoc | catsRest = {{catsT|MediaWiki|Wiki|Definition|Format}} | tags = {{tagsT|MediaWiki|Wiki|Definition|Format}} | examples = <pre> {{dd|pagename|templatename}} </pre> Produces: <pre> ''[[pagename]]'' : {{templatename}} {{editTLink|templatename}} </pre> | parameters = ; 1 : the topic (defaults to FULLPAGENAME) ; 2 : (optional) the template (defaults to using PAGENAME as template) ; label : (optional) display label ; source ; noShowSource | parametersAll = <pre> {{dd|pagename|templatename}} </pre> | see = {{Dd templates see}} | subtemplates = * {{templateLink|NsLink}} * {{templateLink|TemplateView}} * {{templateLink|Arg123}} }} <!-- ''[[{{{1}}}]]'' :{{lb}}{{{1}}}{{rb}} {{#if:{{{2|}}}|{{li|{{{1}}}|li={{{li|;}}}|def={{{2|}}}|rest={{{rest|}}}}}|{{li|{{{1}}}|li={{{li|;}}}|rest={{{rest|}}}}}}}{{#if:{{{wikipedia|}}}| --Fix-- {{seeWikipedia|wikipedia={{{wikipedia}}} }}|}} |rest=rest {{{rest| {{#if:{{{wikipedia|}}} |{{seeWikipedia|wikipedia={{{wikipedia}}} }} | }} }}} --> </noinclude>

dcore[edit]

<onlyinclude>Core definition: [[Template:{{{1}}}]]</onlyinclude> [[Category:MediaWiki Template]] {{DEFAULTSORT:dcore}}

dl[edit]

<onlyinclude>* [[{{{1}}}]] - {{{2|{{{{{1}}}}}}}}</onlyinclude> [[Category:MediaWiki Template]] {{DEFAULTSORT:dl}}

dsee[edit]

<onlyinclude>; ''[[{{{1}}}]]'' : See [[{{{2}}}]].</onlyinclude> [[Category:MediaWiki Template]] {{DEFAULTSORT:dsee}}

def[edit]

<onlyinclude> {{lb}}{{{1}}}{{rb}} {{#switch2: {{#expr: {{#if: {{{1|}}}|1|0}} + {{#if: {{{2|}}}|1|0}} + {{#if: {{{3|}}}|1|0}} + {{#if: {{{4|}}}|1|0}} + {{#if: {{{5|}}}|1|0}} + {{#if: {{{6|}}}|1|0}} + {{#if: {{{7|}}}|1|0}} + {{#if: {{{8|}}}|1|0}} + {{#if: {{{9|}}}|1|0}} }} | 0= | 1= {{cats{{pipe}}Definition}} | 2= {{cats{{pipe}}Definition{{pipe}}{{{2}}}}} | 3= {{cats{{pipe}}Definition{{pipe}}{{{2}}}{{pipe}}{{{3}}}}} | 4= {{cats{{pipe}}Definition{{pipe}}{{{2}}}{{pipe}}{{{3}}}{{pipe}}{{{4}}}}} | 5= {{cats{{pipe}}Definition{{pipe}}{{{2}}}{{pipe}}{{{3}}}{{pipe}}{{{4}}}{{pipe}}{{{5}}}}} | 6= {{cats{{pipe}}Definition{{pipe}}{{{2}}}{{pipe}}{{{3}}}{{pipe}}{{{4}}}{{pipe}}{{{5}}}{{pipe}}{{{6}}}}} | 7= {{cats{{pipe}}Definition{{pipe}}{{{2}}}{{pipe}}{{{3}}}{{pipe}}{{{4}}}{{pipe}}{{{5}}}{{pipe}}{{{6}}}{{pipe}}{{{7}}}}} | 8= {{cats{{pipe}}Definition{{pipe}}{{{2}}}{{pipe}}{{{3}}}{{pipe}}{{{4}}}{{pipe}}{{{5}}}{{pipe}}{{{6}}}{{pipe}}{{{7}}}{{pipe}}{{{8}}}}} | 9= {{cats{{pipe}}Definition{{pipe}}{{{2}}}{{pipe}}{{{3}}}{{pipe}}{{{4}}}{{pipe}}{{{5}}}{{pipe}}{{{6}}}{{pipe}}{{{7}}}{{pipe}}{{{8}}}{{pipe}}{{{9}}}}} | }} </onlyinclude> ==Usage== Create a Definition article: <nowiki> {{def|topic|cat1|cat2|cat3|..|cat9}} </nowiki>

defgn[edit]

<onlyinclude> {{lb}}{{{1}}}{{rb}} {{#switch2: {{#expr: {{#if: {{{1|}}}|1|0}} + {{#if: {{{2|}}}|1|0}} + {{#if: {{{3|}}}|1|0}} + {{#if: {{{4|}}}|1|0}} + {{#if: {{{5|}}}|1|0}} + {{#if: {{{6|}}}|1|0}} + {{#if: {{{7|}}}|1|0}} + {{#if: {{{8|}}}|1|0}} + {{#if: {{{9|}}}|1|0}} }} | 0= | 1= {{cats{{pipe}}Glossary Nexium Definition{{pipe}}Definition}} | 2= {{cats{{pipe}}Glossary Nexium Definition{{pipe}}Definition{{pipe}}{{{2}}}}} | 3= {{cats{{pipe}}Glossary Nexium Definition{{pipe}}Definition{{pipe}}{{{2}}}{{pipe}}{{{3}}}}} | 4= {{cats{{pipe}}Glossary Nexium Definition{{pipe}}Definition{{pipe}}{{{2}}}{{pipe}}{{{3}}}{{pipe}}{{{4}}}}} | 5= {{cats{{pipe}}Glossary Nexium Definition{{pipe}}Definition{{pipe}}{{{2}}}{{pipe}}{{{3}}}{{pipe}}{{{4}}}{{pipe}}{{{5}}}}} | 6= {{cats{{pipe}}Glossary Nexium Definition{{pipe}}Definition{{pipe}}{{{2}}}{{pipe}}{{{3}}}{{pipe}}{{{4}}}{{pipe}}{{{5}}}{{pipe}}{{{6}}}}} | 7= {{cats{{pipe}}Glossary Nexium Definition{{pipe}}Definition{{pipe}}{{{2}}}{{pipe}}{{{3}}}{{pipe}}{{{4}}}{{pipe}}{{{5}}}{{pipe}}{{{6}}}{{pipe}}{{{7}}}}} | 8= {{cats{{pipe}}Glossary Nexium Definition{{pipe}}Definition{{pipe}}{{{2}}}{{pipe}}{{{3}}}{{pipe}}{{{4}}}{{pipe}}{{{5}}}{{pipe}}{{{6}}}{{pipe}}{{{7}}}{{pipe}}{{{8}}}}} | 9= {{cats{{pipe}}Glossary Nexium Definition{{pipe}}Definition{{pipe}}{{{2}}}{{pipe}}{{{3}}}{{pipe}}{{{4}}}{{pipe}}{{{5}}}{{pipe}}{{{6}}}{{pipe}}{{{7}}}{{pipe}}{{{8}}}{{pipe}}{{{9}}}}} | }} </onlyinclude> ==Usage== Create a Glossary Nexium Definition article: <nowiki> {{defgn|topic|cat1|cat2|cat3|..|cat9}} </nowiki>

dl[edit]

<onlyinclude>* [[{{{1}}}]] - {{{2|{{{{{1}}}}}}}}</onlyinclude> [[Category:MediaWiki Template]]

{{DEFAULTSORT:dl}}