Template:Spell:修订间差异

无编辑摘要
无编辑摘要
 
(未显示同一用户的7个中间版本)
第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|}}})'''
|-
|-
| rowspan=5 align=center valign=center style="margin-left: 5px;; margin-right: 5px;" | [[File:{{{image|{{PAGENAME}}.png}}}|100px]]
| rowspan=5 align=center valign=center style="margin-left: 5px;; margin-right: 5px;" | [[File:{{{image|{{{name|{{PAGENAME}}}}}.png}}}|100px]]
|-
|-
| '''魔法类型:''' 
| '''魔法类型:''' 
第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}}}
  | cost = {{{cost}}}
  | cost = {{{cost}}}
  | duration = {{{duration}}}
  | duration = {{{duration}}}
第76行: 第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 ==
第108行: 第110行:
  | image = Wikitext string
  | image = Wikitext string
  | school = String
  | school = String
| level = String
  | cost = String
  | cost = String
  | duration = String
  | duration = String
第113行: 第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”。 查看表格.