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 1: Line 1:
<noinclude>
<includeonly>{{5x Adventure
<!-- Cargo Table -->
|adventure={{Safeapos|{{{adventure|}}}}}
{{#cargo_declare:
|min_level={{{min_level|}}}
_table = 5e_Adventures
|max_level={{{min_level|}}}
|Adventure = List (, ) of String
|tier={{{tier|}}}
|Max_Level = String
|edition=5e
|Min_Level = String
|summary={{{summary|}}}
|Tier = List (, ) of String
|noshow={{{noshow|}}}
|Summary = Wikitext
|nodb={{{nodb|}}}
}}
}}
</noinclude><includeonly>{{#if: {{{nodb|}}}|<!--skip-->|<!--
<!--
--Store Data--
-->{{#cargo_store:
_table = 5e_Adventures
|Adventure = {{Safeapos|{{{adventure|}}}}}
|Min_Level = {{{min_level|}}}
|Max_Level = {{{max_level|}}}
|Tier = {{{tier|}}}
|Summary = {{{summary|}}}
}}<!--
-- Categories--
-- Categories--
-->[[Category:5e Adventures|{{{adventure}}} 5e]]{{#arraymap: {{{tier|}}}|, |xTier|[[Category:5e Tier xTier Adventures]]|\s}}|}}<!--end nodb--><!--
-->{{#if: {{{nodb|}}<!--skip-->|[[Category:5e Adventures|{{{adventure}}} 5e]]|[[Category:5x Adventures|{{{adventure}}} 5e]]{{#arraymap: {{{tier|}}}|, |xTier|[[Category:5e Tier xTier Adventures]][[Category:5x Tier xTier Adventures]]|\s}}|}}<!--end nodb--><!--
-- Display --
-- Display Removed--
-->{{#if: {{{noshow|}}}|<!--skip display-->|{{{!}} class="zebra small" style="border:solid 1px gainsboro; border-radius:0.5em;">
--></includeonly><noinclude>{{template badge}}{{tocright}}
!colspan="2" style="padding:0.5em;"{{!}}{{{adventure|}}}
{{!}}-
{{!}}Adventurer Levels
{{!}}{{{min_level|}}}{{#if: {{{max_level|}}}|-{{{max_level}}}|}}
{{!}}-
{{!}}Adventure Tier
{{!}}{{{tier|}}}
{{!}}-
{{!}}Summary:
{{!}}{{{summary|}}}
{{!}}}|}}<!--endif noshow--></includeonly><noinclude>{{tocright}}
<!-- Tech note:
<!-- Tech note:
&#91; and &#93; display as [ and ] , respectively, but won't get parsed as wiki links.  
&#91; and &#93; display as [ and ] , respectively, but won't get parsed as wiki links.  

Latest revision as of 18:28, 25 October 2025

 Template    

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 5e 
Adventurer Levels 1-1
Adventure Tier 1, 2
Summary: The party is tasked with helping the impulsive Foo hold on to enough money to pay his rent.