Template:5e Spell List Row: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
(wip)
 
No edit summary
 
(23 intermediate revisions by the same user not shown)
Line 1: Line 1:
''{{{1|}}}'' <sup>{{#switch: {{{2|}}}
<includeonly>''[[{{{1}}}|{{{2}}}]]'' {{#if: {{{4|}}}|<!--userflag not null-->{{#ifexpr: {{{4}}} > 0|{{#tag:ref|{{{3}}}|name=u{{{3}}}}}|<!--userflag =< 0-->{{#tag:ref|{{Cite Pub{{!}}{{{3}}}}}|name=p{{{3}}} }}}}|<!--userflag is null-->{{#tag:ref|{{Cite Pub|{{{3}}}}}|name=p{{{3}}} }}|}}{{#if: {{{5|}}}|<sup>,&nbsp;{{#switch: {{{5|}}}
  | Abjuration = {{iplink|a}}
  | Abjuration = {{iplink|a}}
  | Conjuration = {{iplink|c}}
  | Conjuration = {{iplink|c}}
Line 8: Line 8:
  | Necromancy = {{iplink|n}}
  | Necromancy = {{iplink|n}}
  | Transmutation = {{iplink|t}}
  | Transmutation = {{iplink|t}}
  | default = {{iplink|o}}<!--other school-->
  | default = {{iplink|o}}
}}{{#if {{{3|}}}|, {{iplink|r}}|}}</sup> <ref>{{#if: {{{5|}}}|{{{4|}}}|{{Cite Pub|{{#cargo_query: table=Publication
}}</sup>|}}{{#ifeq: {{{6|}}}|1|<sup>,&ensp;{{iplink|r}}</sup>|}}{{#ifeq: {{{7|}}}|1|<sup>,&ensp;[[#vcc|$]]</sup>|}}<br /></includeonly><noinclude>
|where=_pageName={{{4}}}
|fields=Title
}}}}|}}


==Syntax==
==Syntax==
<pre>{{5e Spell List Row|spell|school|ritual|source|userYN}}</pre>
<pre>
{{5e Spell List Row|Link|spell|source|userYN|optSchool|optRitual|optVCC}}
                    1    2    3      4      5        6        7
</pre>
<!--
{{5e Spell List Row|spellLink|spellName|school|source|userYN|canonYN|ptrYN|uaYN|ritualYN|concentrationYN}}
      1          2        3      4    5      6      7    8    9          10
-->
===Add'l Parameters===
<pre>|showdetail= <!--blank, or true to show add'l detail--></pre>


==Examples==
==Examples==
<pre>
<pre>
{{5e Spell List Row|Kiss of Vanti|Necromancy||[[user:Rlyehable]]|1}}
{{5e Spell List Row|5e:Kiss of Vanti|Kiss of Vanti|[[user:Rlyehable]]|1}}
 
{{5e Spell List Row|SRD5:Acid Splash|Acid Splash|SRD-OGL v5.1|0}}
 
{{5e Spell List Row|SRD5:Light Spell|Light|SRD-OGL v5.1|0}}
 
{{5e Spell List Row|5e:Blade Ward|Blade Ward|Player's Handbook (5e)|}}
 
{{5e Spell List Row|5e:Kiss of Vanti|kiss of Vanti|[[user:Rlyehable]]|y||Necromancy}}
</pre><!--
{{5e Spell List Row|SRD5:Acid Splash|Acid Splash|Evocation|SRD-OGL v5.1||y||}}
 
{{5e Spell List Row|SRD5:Light Spell|Light|Evocation|SRD-OGL v5.1||y||}}
 
{{5e Spell List Row|5e:Blade Ward|Blade Ward|Abjuration|Player's Handbook (5e)||y|y||showdetail=true}}-->


{{5e Spell List Row|Light|evocation|y|{{pub|SRD5 v5.1}}|}}
</pre>


produces...
produces...


{{5e Spell List Row|{{5ed|Kiss of Vanti}}|Necromancy||[[user:Rlyehable]]|1}}
{{5e Spell List Row|5e:Kiss of Vanti|Kiss of Vanti|[[user:Rlyehable]]|1}}
 
{{5e Spell List Row|SRD5:Acid Splash|Acid Splash|SRD-OGL v5.1||}}
 
{{5e Spell List Row|SRD5:Light Spell|Light|SRD-OGL v5.1||}}
 
{{5e Spell List Row|5e:Blade Ward|Blade Ward|Player's Handbook (5e)|0}}
 
{{5e Spell List Row|5e:Kiss of Vanti|kiss of Vanti|[[user:Rlyehable]]|1|Necromancy|1|1}}
<!--
{{5e Spell List Row|SRD5:Acid Splash|Acid Splash|Evocation|SRD-OGL v5.1||y||}}
 
{{5e Spell List Row|SRD5:Light Spell|Light|Evocation|SRD-OGL v5.1||y||}}
 
{{5e Spell List Row|5e:Blade Ward|Blade Ward|Abjuration|Player's Handbook (5e)||y|y||showdetail=true}}-->


{{5e Spell List Row|{{SRD5|Light}}|Evocation|y|{{pub|SRD5 v5.1}}|}}
<!--
==Also Include==
<pre>===Spell Notes===
{{anchor|a}} = {{SRD5|Abjuration}}<br />
{{anchor|c}} = {{SRD5|Conjuration}}<br />
{{anchor|d}} = {{SRD5|Divination}}<br />
{{anchor|en}} = {{SRD5|Enchantment}}<br />
{{anchor|ev}} = {{SRD5|Evocation}}<br />
{{anchor|i}} = {{SRD5|Illusion}}<br />
{{anchor|n}} = {{SRD5|Necromancy}}<br />
{{anchor|t}} = {{SRD5|Transmutation}}<br />
{{anchor|o}} = Other school<br />
<br />
{{anchor|cn}} = {{SRD5|Concentration}}<br />
{{anchor|r}} = {{SRD5|Ritual}}<br />
<br />
{{anchor|can}} = Canon<br />
{{anchor|p}} = Pointer<br />
{{anchor|ua}} = Unearthed Arcana<br />
{{anchor|uc}} = User Creation</pre>
-->


----
<references />
[[Category:5e Templates]]
[[Category:5e Templates]]
</noinclude>

Latest revision as of 17:30, 4 March 2021


Syntax

{{5e Spell List Row|Link|spell|source|userYN|optSchool|optRitual|optVCC}}
                     1     2     3       4       5        6        7

Add'l Parameters

|showdetail= <!--blank, or true to show add'l detail-->

Examples

{{5e Spell List Row|5e:Kiss of Vanti|Kiss of Vanti|[[user:Rlyehable]]|1}}

{{5e Spell List Row|SRD5:Acid Splash|Acid Splash|SRD-OGL v5.1|0}}

{{5e Spell List Row|SRD5:Light Spell|Light|SRD-OGL v5.1|0}}

{{5e Spell List Row|5e:Blade Ward|Blade Ward|Player's Handbook (5e)|}}

{{5e Spell List Row|5e:Kiss of Vanti|kiss of Vanti|[[user:Rlyehable]]|y||Necromancy}}


produces...

Kiss of Vanti [1]

Acid Splash [2]

Light [2]

Blade Ward [3]

kiss of Vanti [1]n, r, $



  1. user:Rlyehable 1.0 1.1
  2. Wizards RPG Team. SRD-OGL v5.1 (5e 2014) (2015.05.06). Wizards of the Coast. 2.0 2.1
  3. Wizards RPG Team. Player's Handbook (5e) (5e 2014) (2014-08-19). Wizards of the Coast. ISBN 9780786965601.