Template:5e Magic Item List Row: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 14: Line 14:
--></noinclude>
--></noinclude>
<includeonly>
<includeonly>
{{!}}valign="top"{{!}}[[{{{1}}}|{{{2}}}]]
{{!}}valign="top"{{!}}[[{{{_pageName}}}|{{{Item Name}}}]]
{{!}}valign="top"{{!}}{{{3|}}}
{{!}}valign="top"{{!}}{{{Item Type|}}}
{{!}}valign="top"{{!}}{{{4|}}}
{{!}}valign="top"{{!}}{{{Rarity|}}}
{{!}}valign="top"{{!}}{{#ifeq: {{{5|}}}|1|True|}}
{{!}}valign="top"{{!}}{{#ifeq: {{{Attunement|}}}|1|True|}}
{{!}}valign="top"{{!}}{{{6|}}}
{{!}}valign="top"{{!}}{{{Charges|}}}
{{!}}valign="top"{{!}}{{{7|}}}
{{!}}valign="top"{{!}}{{{Magic Bonus|}}}
{{!}}valign="top"{{!}}{{#ifeq: {{{8|}}}|1|Canon{{#ifeq: {{{9|}}}|1|, Pointer|}}|{{#ifeq:{{{9}}}|1|Pointer|}}|}}{{#ifeq: {{{10}}}|1|, UA|}}{{#ifeq: {{{11|}}}|1|User Creation|}}
{{!}}valign="top"{{!}}{{#ifeq: {{{Canon|}}}|1|Canon|Noncanon}}{{#ifeq: {{{Pointer|}}}|1|, Pointer|}}{{#ifeq: {{{UA|}}}|1|, UA|}}{{#ifeq: {{{User|}}}|1|, User Creation|}}
{{!}}valign="top"{{!}}{{#ifeq: {{{11|}}}|1|[[user:{{{12|}}}]]|{{pub|{{{12|}}}}}|}}<br />
{{!}}valign="top"{{!}}{{#ifeq: {{{User|}}}|1|[[user:{{{Sources|}}}]]|{{pub|{{{Sources|}}}}}|}}<br />
{{!}}-</includeonly><noinclude>
{{!}}-</includeonly><noinclude>
==Syntax==
==Syntax==
<pre>{{5e Magic Item List Row
<pre>
|5e_Magic_Items._pageName
{{5e Magic Item List Row
|5e_Magic_Items.Item_Name
|_pageName=
|5e_Magic_Items.Item_Type
|Item Name=
|5e_Magic_Items.Rarity
|Item Type=
|5e_Magic_Items.Attunement
|Rarity=
|5e_Magic_Items.Charges
|Attunement=
|5e_Magic_Items.Magic_Bonus
|Charges=
|Pages_Info.Canon
|Magic_Bonus=
|Pages_Info.Pointer
|Canon=
|Pages_Info.UA
|Pointer=
|Pages_Info.User
|UA=
|Pages_Info.Sources
|User=
|Sources=
}}</pre>
}}</pre>


Examples:
Examples:
<pre>
<pre>
{{5e Magic Item List Row|5e:Foo|Foo|Wondrous Item|Rare|1|3|+2|1<!--Canon-->|1<!--Pointer-->|1<!--UA-->|<!--User-->|Foo's Guide to Nothing}}
{{5e Magic Item List Row
{{5e Magic Item List Row|5e:Bar|Bar|Wondrous Item|Uncommon||||<!--Canon-->|<!--Pointer-->|<!--UA-->|1<!--User-->|Rlyehable}}
|_pageName=5e:Foo
|Item Name=Foo
|Item Type=Wondrous Item
|Rarity=Rare
|Attunement=1
|Charges=3
|Magic_Bonus=+2
|Canon=
|Pointer=1
|UA=
|User=
|Sources=Foo's Guide to Nothing
}}
</pre>
</pre>


Line 48: Line 61:


{|
{|
{{5e Magic Item List Row|5e:Foo|Foo|Wondrous Item|Rare|1|3|+2|1<!--Canon-->|1<!--Pointer-->|1<!--UA-->|<!--User-->|Foo's Guide to Nothing}}
{{5e Magic Item List Row
{{5e Magic Item List Row|5e:Bar|Bar|Wondrous Item|Uncommon||||<!--Canon-->|<!--Pointer-->|<!--UA-->|1<!--User-->|Rlyehable}}
|_pageName=5e:Foo
|Item Name=Foo
|Item Type=Wondrous Item
|Rarity=Rare
|Attunement=1
|Charges=3
|Magic_Bonus=+2
|Canon=
|Pointer=1
|UA=
|User=
|Sources=Foo's Guide to Nothing
}}
|}
|}
[[Category:5e Templates]]
[[Category:5e Templates]]
</noinclude>
</noinclude>

Latest revision as of 07:09, 23 July 2022


Syntax[edit]

{{5e Magic Item List Row
|_pageName=
|Item Name=
|Item Type=
|Rarity=
|Attunement=
|Charges=
|Magic_Bonus=
|Canon=
|Pointer=
|UA=
|User=
|Sources=
}}

Examples:

{{5e Magic Item List Row
|_pageName=5e:Foo
|Item Name=Foo
|Item Type=Wondrous Item
|Rarity=Rare
|Attunement=1
|Charges=3
|Magic_Bonus=+2
|Canon=
|Pointer=1
|UA=
|User=
|Sources=Foo's Guide to Nothing
}}

produces:

Foo Wondrous Item Rare True 3 Noncanon, Pointer Foo's Guide to Nothing