Template:DnD Adventure Creatures xRef: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
Created page with "<noinclude> <!-- Cargo Table --> {{#cargo_declare: _table = DnD_Adventure_Creature_xRef |Adventure = String |Creature = List (,) of String }} </noinclude><includeonly><!-- --Store Data-- -->{{#cargo_store: _table = DnD_Adventure_Creature_xRef |Adventure = {{{adventure|}}} |Creature = {{{creature|}}} }}</includeonly><noinclude>{{template badge}}{{tocright}} <!-- Tech note: [ and ] display as [ and ] , respectively, but won't get parsed as wiki links. --> ==Use==..."
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
_table = DnD_Adventure_Creature_xRef
_table = DnD_Adventure_Creature_xRef
|Adventure = String
|Adventure = String
|Edition = List (, ) of String
|Creature = List (,) of String  
|Creature = List (,) of String  
}}
}}
</noinclude><includeonly><!--
</noinclude><includeonly><!--
--Store Data--
--Store Data--
-->{{#cargo_store:
-->{{#if: {{{nodb|}}}|<!--skip-->|{{#cargo_store:
_table = DnD_Adventure_Creature_xRef
_table = DnD_Adventure_Creature_xRef
|Adventure = {{{adventure|}}}
|Adventure = {{{adventure|}}}
|Edition = {{#if: {{{edition|}}}|{{#arraymap: {{{edition|}}}|, |xEd|xEd}}|}}
|Creature = {{{creature|}}}
|Creature = {{{creature|}}}
}}</includeonly><noinclude>{{template badge}}{{tocright}}
}}|}}<!--endif nodb--><!--
--Diagnostic Display--
'''Adventure:'''{{{adventure|}}}<br />
'''Edition:''' {{#if: {{{edition|}}}|{{#arraymap: {{{edition|}}}|, |xEd|xEd}}|}}<br />
'''Creatures:''' {{{creature|}}}
-->
</includeonly><noinclude>{{template badge}}{{tocright}}<br />
<!-- 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 23: Line 31:
{{DnD Adventure Creatures xRef
{{DnD Adventure Creatures xRef
|adventure= <!--adventure name-->
|adventure= <!--adventure name-->
|edition= <!--editions-->
|creature= <!--creature name list->
|creature= <!--creature name list->
}}
}}
Line 31: Line 40:
{{DnD Adventure Creatures xRef
{{DnD Adventure Creatures xRef
|adventure=A Foo and His Money are Soon Parted
|adventure=A Foo and His Money are Soon Parted
|edition=5x, 5e
|creature=Foo, Bar, Dra, Orc Common, Kobold Overview
|creature=Foo, Bar, Dra, Orc Common, Kobold Overview
}}
}}
</pre>
</pre>
===Produces===
(should be no display)
{{DnD Adventure Creatures xRef
|adventure=A Foo and His Money are Soon Parted
|edition=5x, 5e
|creature=Foo, Bar, Dra, Orc Common, Kobold Overview
|nodb=true
}}




[[Category:5x Templates]]</noinclude>
[[Category:DnD Templates]]</noinclude>

Latest revision as of 17:35, 5 March 2026

This template defines the table "DnD_Adventure_Creature_xRef". View table.

 Template    


Use

Use on Adventure/Publication pages to link to creatures.

Syntax

{{DnD Adventure Creatures xRef
|adventure= <!--adventure name-->
|edition= <!--editions-->
|creature= <!--creature name list->
}}

Example

{{DnD Adventure Creatures xRef
|adventure=A Foo and His Money are Soon Parted
|edition=5x, 5e
|creature=Foo, Bar, Dra, Orc Common, Kobold Overview
}}

Produces

(should be no display)