Template:5e Adventure: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
{{#cargo_declare:
{{#cargo_declare:
_table = 5e_Adventures
_table = 5e_Adventures
|Adventure = List (, ) of String
|Adventure = String
|Max_Level = String
|Max_Level = String
|Min_Level = String
|Min_Level = String
Line 20: Line 20:
}}<!--
}}<!--
-- 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]]|\s}}|}}<!--end nodb--><!--
-- Display --
-- Display --
-->{{#if: {{{noshow|}}}|<!--skip display-->|{{{!}} class="zebra small" style="border:solid 1px gainsboro; border-radius:0.5em;">
-->{{#if: {{{noshow|}}}|<!--skip display-->|{{{!}} class="zebra small" style="border:solid 1px gainsboro; border-radius:0.5em;">
Line 26: Line 26:
{{!}}-
{{!}}-
{{!}}Adventurer Levels
{{!}}Adventurer Levels
{{!}}{{{min_level|}}}-{{{max_level|}}}
{{!}}{{{min_level|}}}{{#if: {{{max_level|}}}|-{{{max_level}}}|}}
{{!}}-
{{!}}-
{{!}}Adventure Tier
{{!}}Adventure Tier

Latest revision as of 18:19, 26 August 2024

This template defines the table "5e_Adventures". View table.

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.