Template:5x Adventure: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
(Created page with "<noinclude> <!-- Cargo Table --> {{#cargo_declare: _table = 5x_Adventures |Adventure = List (, ) of String |Max_Level = String |Min_Level = String |Tier = List (, ) of String |Summary = Wikitext }} </noinclude><includeonly>{{#if: {{{nodb|}}}|<!--skip-->|<!-- --Store Data-- -->{{#cargo_store: _table = 5x_Adventures |Adventure = {{Safeapos|{{{adventure|}}}}} |Min_Level = {{{min_level|}}} |Max_Level = {{{max_level|}}} |Tier = {{{tier|}}} |Summary = {{{summary|}}} }}<!-- --...")
 
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 7: Line 7:
|Min_Level = String
|Min_Level = String
|Tier = List (, ) of String
|Tier = List (, ) of String
|Edition = List (, ) of String
|Summary = Wikitext
|Summary = Wikitext
}}
}}
Line 17: Line 18:
|Max_Level = {{{max_level|}}}
|Max_Level = {{{max_level|}}}
|Tier = {{{tier|}}}
|Tier = {{{tier|}}}
|Edition = {{{edition|}}}
|Summary = {{{summary|}}}
|Summary = {{{summary|}}}
}}<!--
}}<!--
-- Categories--
-- Categories--
-->[[Category:5x Adventures|{{{adventure}}} 5x]]{{#arraymap: {{{tier|}}}|, |xTier|[[Category:5x Tier xTier Adventures]]|\s}}|}}<!--end nodb--><!--
-->[[Category:5x Adventures|{{{adventure}}} 5x]]{{#arraymap: {{{tier|}}}|, |xTier|[[Category:5x Tier xTier Adventures]]|\s}}|}}<!--end nodb-->{{DnD Adventure
-- Display --
|adventure={{{adventure|}}}
-->{{#if: {{{noshow|}}}|<!--skip display-->|{{{!}} class="zebra small" style="border:solid 1px gainsboro; border-radius:0.5em;">
|min_level={{{min_level|}}}
!colspan="2" style="padding:0.5em;"{{!}}{{{adventure|}}}
|max_level={{{max_level|}}}
{{!}}-
|tier={{{tier|}}}
{{!}}Adventurer Levels
|edition={{{edition|}}}
{{!}}{{{min_level|}}}{{#if: {{{max_level|}}}|-{{{max_level}}}|}}
|summary={{{summary|}}}
{{!}}-
|nodb={{{nodb|}}}
{{!}}Adventure Tier
|noshow={{{noshow|}}}
{{!}}{{{tier|}}}
}}</includeonly><noinclude>{{template badge}}{{tocright}}
{{!}}-
{{!}}Summary:
{{!}}{{{summary|}}}
{{!}}}|}}<!--endif noshow--></includeonly><noinclude>{{template badge}}{{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.  
Line 47: Line 45:
|max_level=
|max_level=
|tier= <!-- 1-4=1;5-10=2;11-16=3;17+=4-->
|tier= <!-- 1-4=1;5-10=2;11-16=3;17+=4-->
|edition= <!--5e, One, 5e24-->
|summary=
|summary=
}}
}}
Line 62: Line 61:
|level=1-2
|level=1-2
|tier=1
|tier=1
|edition=5e24
|summary=The party is tasked with helping the impulsive {{5ed|Foo}} hold on to enough money to pay his rent.
|summary=The party is tasked with helping the impulsive {{5ed|Foo}} hold on to enough money to pay his rent.
}}
}}
Line 71: Line 71:
|max_level=6
|max_level=6
|tier=1, 2
|tier=1, 2
|edition=5e24
|summary=The party is tasked with helping the impulsive {{5ed|Foo}} hold on to enough money to pay his rent.
|summary=The party is tasked with helping the impulsive {{5ed|Foo}} hold on to enough money to pay his rent.
|nodb=true
|nodb=true

Latest revision as of 19:20, 25 October 2025

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

 Template    

Use

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

Syntax

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

Optional Entries

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

Example

{{5x Adventure 
|adventure=A Foo and His Money are Soon Parted
|level=1-2
|tier=1
|edition=5e24
|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 5e24 
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.