Template:5e Spell List Row: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>''[[{{{1|}}}|{{#if: {{{2|}}}|{{{2}}}|{{{1}}}|}}]]'' {{#if: {{{showdetail|}}}|<sup>{{#switch: {{{3|}}}
<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 9: Line 9:
  | Transmutation = {{iplink|t}}
  | Transmutation = {{iplink|t}}
  | default = {{iplink|o}}
  | default = {{iplink|o}}
}}{{#if: {{{10|}}}|, {{iplink|cn}}|}}{{#if: {{{9|}}}|, {{iplink|r}}|}}{{#if: {{{6|}}}|, {{iplink|can}}|}}{{#if: {{{7|}}}|, {{iplink|p}}|}}{{#if: {{{8|}}}|, {{iplink|ua}}|}} </sup>|}}<!--endif showdetail--> {{#if: {{{5|}}}|{{#tag:ref|{{{4|}}}|name=user{{{4|}}}}}|{{#tag:ref{{!}}{{Cite Pub{{!}}{{{4|}}}}}{{!}}name=pub{{{4|}}}}}|}}<br /></includeonly><noinclude>
}}</sup>|}}{{#ifeq: {{{6|}}}|1|<sup>,&ensp;{{iplink|r}}</sup>|}}{{#ifeq: {{{7|}}}|1|<sup>,&ensp;[[#vcc|$]]</sup>|}}<br /></includeonly><noinclude>


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


==Examples==
==Examples==
<pre>
<pre>
{{5e Spell List Row|5e:Kiss of Vanti|kiss of Vanti|Necromancy|[[user:Rlyehable]]|y|||}}
{{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: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|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|5e:Blade Ward|Blade Ward|Abjuration|Player's Handbook (5e)||y|y||showdetail=true}}-->
</pre>
 


produces...
produces...


{{5e Spell List Row|5e:Kiss of Vanti|kiss of Vanti|Necromancy|[[user:Rlyehable]]|y|||}}
{{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: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|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|5e:Blade Ward|Blade Ward|Abjuration|Player's Handbook (5e)||y|y||showdetail=true}}-->


<!--
==Also Include==
==Also Include==
<pre>===Spell Notes===
<pre>===Spell Notes===
Line 57: Line 79:
{{anchor|p}} = Pointer<br />
{{anchor|p}} = Pointer<br />
{{anchor|ua}} = Unearthed Arcana<br />
{{anchor|ua}} = Unearthed Arcana<br />
{{anchor|uc}} = User Creation</pre>
{{anchor|uc}} = User Creation</pre>
-->


----
----
Line 63: Line 86:
[[Category:5e Templates]]
[[Category:5e Templates]]
</noinclude>
</noinclude>
[[Category:5e Templates]]

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.