Difference between revisions of "Template:5e Monster List/UL/format"

From Dungeons and Dragons Wiki
Jump to: navigation, search
(Created page with "<includeonly>{{#if: {{{1|}}}|* {{{1}}} {{#if: {{{2|}}}|{{#switch: {{lc:{{{2}}}}} | overview = Overview | iundividual = (Individual) | default = <nowiki></nowiki> }}|}}<!--e...")
 
m
Line 1: Line 1:
<includeonly>{{#if: {{{1|}}}|* {{{1}}} {{#if: {{{2|}}}|{{#switch: {{lc:{{{2}}}}}
+
<includeonly>{{#if: {{{1|}}}|* {{{1}}} {{#if: {{{3|}}}|{{#switch: {{lc:{{{3}}}}}
 
  | overview = Overview
 
  | overview = Overview
 
  | iundividual = (Individual)
 
  | iundividual = (Individual)
 
  | default = <nowiki></nowiki>
 
  | default = <nowiki></nowiki>
}}|}}<!--endif 2--> - {{Source Array|{{{3|}}}}}
+
}}|}}<!--endif 2--> - {{Source Array|{{{2|}}}}}
 
|}}<!--endif 1--></includeonly><noinclude>{{tocright}}
 
|}}<!--endif 1--></includeonly><noinclude>{{tocright}}
 
==Use==
 
==Use==
Line 15: Line 15:
 
==Example==
 
==Example==
 
<pre>
 
<pre>
{{5e Monster List/UL/format|{{5ep|Foo}}|Overview|Foo's Guide to Nothing}}
+
{{5e Monster List/UL/format|{{5ep|Foo}}|Foo's Guide to Nothing|Overview}}
 
</pre>
 
</pre>
  
 
produces...
 
produces...
  
{{5e Monster List/UL/format|{{5ep|Foo}}|Individual|Foo's Guide to Nothing}}
+
{{5e Monster List/UL/format|{{5ep|Foo}}|Foo's Guide to Nothing|Overview}}
  
 
[[Category:5e Templates]]
 
[[Category:5e Templates]]
 
</noinclude>
 
</noinclude>

Revision as of 15:54, 18 February 2024

Use

format line for Template:5e Monster List/UL

Syntax

{{5e Monster List/UL/format|link|type|source}}

Example

{{5e Monster List/UL/format|{{5ep|Foo}}|Foo's Guide to Nothing|Overview}}

produces...