Template:Spell:修订间差异

无编辑摘要
无编辑摘要
 
(未显示同一用户的5个中间版本)
第1行: 第1行:
{| cellpadding=0 cellspacing=0 style="background-color:#{{teal 3}}; color:lightseagreen; border:1px solid; border-color:rgba(0,0,0,0); float:{{{float|right}}}; width:225px; margin: 0 0 0 1em"
<includeonly>{| cellpadding=0 cellspacing=0 style="background-color:#{{teal 3}}; color:lightseagreen; border:1px solid; border-color:rgba(0,0,0,0); float:{{{float|right}}}; width:225px; margin: 0 0 0 1em"
| colspan=3 align=center bgcolor={{teal 1}} style="height: 25px; color:white;" | '''{{PAGENAME}}({{{name|}}})'''
| colspan=3 align=center bgcolor={{teal 1}} style="height: 25px; color:white;" | '''{{PAGENAME}}({{{name|}}})'''
|-
|-
第68行: 第68行:
|}{{{no_text|{{R|'''{{PAGENAME}}'''|{{{name}}}}}是一种 {{{level|}}} 级的{{{custom_text|[[{{{school|}}}]]}}}[[魔法]]。}}}{{#cargo_store:
|}{{{no_text|{{R|'''{{PAGENAME}}'''|{{{name}}}}}是一种 {{{level|}}} 级的{{{custom_text|[[{{{school|}}}]]}}}[[魔法]]。}}}{{#cargo_store:
_table = spell
_table = spell
  | name = {{{name}}}
  | name = {{{name|{{PAGENAME}}}}}
  | image = [[File:{{{image|{{PAGENAME}}.png}}}|100px]]
  | image = [[File:{{{image|{{{name|{{PAGENAME}}}}}.png}}}|100px]]
  | school = {{{school}}}
  | school = {{{school}}}
  | level = {{{level}}}
  | level = {{{level}}}
第77行: 第77行:
  | a_effect = {{{a_effect}}}
  | a_effect = {{{a_effect}}}
  | e_effect = {{{e_effect}}}
  | e_effect = {{{e_effect}}}
}}<noinclude>
| normal = {{{normal|yes}}}
}}</includeonly><noinclude>


== How to use ==
== How to use ==
第115行: 第116行:
  | a_effect = Wikitext
  | a_effect = Wikitext
  | e_effect = Wikitext
  | e_effect = Wikitext
| normal = Wikitext string
}}
}}
[[Category: Misc templates|{{PAGENAME}}]]</noinclude>
[[Category: Misc templates|{{PAGENAME}}]]</noinclude>

2023年7月14日 (五) 07:27的最新版本


How to use

Copy the code at the beginning of the spell article, and fill in the missing information. Notice, that the factors below are case sensitive meaning, that "school" is not the same as "School".

{{Spell
 | school      = 
 | level       = 
 | cost        = 
 | duration    = 
 | b_effect    = 
 | a_effect    = 
 | e_effect    = 
}}

You can also replace the "in the school of X magic" text with a custom text by adding a custom_text variable row:

 | custom_text = 

You can also use another image by including image variable row:

 | image       = 

此模板定义表格“spell”。 查看表格.