Difference between revisions of "Template:5e Adventure"
From Dungeons and Dragons Wiki
m |
m |
||
Line 1: | Line 1: | ||
<includeonly>{{#if: {{{nodb|}}}|<!--skip-->|<!-- | <includeonly>{{#if: {{{nodb|}}}|<!--skip-->|<!-- | ||
--Store Data-- | --Store Data-- | ||
− | -->{{#set: Adventure List = {{Safeapos|{{{adventure|}}}}}}}{{#set: Minimum Level={{{min_level|}}}}}{{#set: Maximum Level={{{max_level|}}}}}{{#arraymap: {{{tier|}}}|, |xTier|{{#set: Adventure Tier=xTier}}|\s | + | -->{{#set: Adventure List = {{Safeapos|{{{adventure|}}}}}}}{{#set: Minimum Level={{{min_level|}}}}}{{#set: Maximum Level={{{max_level|}}}}}{{#arraymap: {{{tier|}}}|, |xTier|{{#set: Adventure Tier=xTier}}|\s}}{{#set: Summary={{{summary|}}}}}<!-- |
-- Categories-- | -- Categories-- | ||
-->[[Category:5e Adventures|{{{adventure}}} 5e]]{{#arraymap: {{{tier|}}}|, |xTier|[[Category:5e Tier xTier Adventures]]|\s}}|}}<!--end nodb--><!-- | -->[[Category:5e Adventures|{{{adventure}}} 5e]]{{#arraymap: {{{tier|}}}|, |xTier|[[Category:5e Tier xTier Adventures]]|\s}}|}}<!--end nodb--><!-- |
Revision as of 00:14, 18 July 2024
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. |