Difference between revisions of "Template:5e Adventure"

From Dungeons and Dragons Wiki
Jump to: navigation, search
m
m
Line 13: Line 13:
 
-->{{#set: Adventure List = {{Safeapos|{{{adventure|}}}}}}}{{#set: Minimum Level={{{min_level|}}}}}{{#set: Maximum Level={{{max_level|}}}}}{{#set: Adventure Tier={{{tier|}}}}}{{#set: Summary={{{summary|}}}}}<!--
 
-->{{#set: Adventure List = {{Safeapos|{{{adventure|}}}}}}}{{#set: Minimum Level={{{min_level|}}}}}{{#set: Maximum Level={{{max_level|}}}}}{{#set: Adventure Tier={{{tier|}}}}}{{#set: Summary={{{summary|}}}}}<!--
 
-- Categories--
 
-- Categories--
-->[[Category:5e Adventures|{{{adventure}}} 5e]]{{#arraymap: {{{tier|}}}|, |xTier|[[Category:5e xTier Adventures]]}}|}}<!--end nodb--><!--
+
-->[[Category:5e Adventures|{{{adventure}}} 5e]]{{#arraymap: {{{tier|}}}|, |xTier|[[Category:5e Tier xTier Adventures]]}}|}}<!--end nodb--><!--
 
-- Display --
 
-- Display --
 
-->{{#if: {{{noshow|}}}|<!--skip display-->|{{{!}} class="zebra small" style="border:solid 1px goldenrod; border-radius:0.5em;"
 
-->{{#if: {{{noshow|}}}|<!--skip display-->|{{{!}} class="zebra small" style="border:solid 1px goldenrod; border-radius:0.5em;"

Revision as of 01:19, 8 July 2024

{{#cargo_declare: _table = 5e_Adventures |Adventure = List (, ) of String |Max_Level = String |Min_Level = String |Tier = List (, ) of String |Summary = Wikitext }}

Use

Use on adventure pages or publication pages to allow links to adventures.

Syntax

{{5e Adventure 
|adventure=
|min_level=
|max_level=
|tier= <!-- 1-4=1;5-10=2;11-16=3;17+=4-->
|summary=
}}

Optional Entries

|noshow= <!--blank, true to suppress display-->
|nodb= <!--blank, true to skip data storage & categories-->

Example

{{5e Adventure 
|adventure=A Foo and His Money are Soon Parted
|level=1-2
|tier=1
|summary=The party is tasked with helping the impulsive {{5ed|Foo}} hold on to enough money to pay his rent.
}}

Produces

A Foo and His Money are Soon Parted
Adventurer Levels 1-6
Adventure Tier 1, 2
Summary: The party is tasked with helping the impulsive Foo hold on to enough money to pay his rent.