Template:Infobox effect: Difference between revisions

m apply default image size of 180px as effect icons are 18px in size
m convert to portable infobox
Line 1: Line 1:
<includeonly>{{#invoke:infobox|infobox
<onlyinclude><infobox>
| imagesize={{#if:{{{imagesize|}}}|{{{imagesize|}}}|180px}}
<title source="title"><default>{{BASEPAGENAME}}</default></title>
| rows =
<image source="image" />
{{infobox row|label=Sources|field={{#if: {{{sources|}}} | {{{sources}}} | ? }} }}
<navigation>{{#if: {{{extratext|}}} | {{{extratext}}} }}</navigation>
{{infobox row|label=Particle|field={{#if: {{{particle|}}} | {{{particle}}} | ? }} }}
<data source="sources"><label>Sources</label></data>
{{infobox row|label=Type|field={{#if: {{{type|}}} | {{{type}}} | ? }} }}
<data source="particle"><label>Particle</label></data>
{{#if: {{{overleveling|}}} | {{infobox row|<abbr title{{=}}"How the effect's behavior scales when exceeding the maximum level via commands or other means.">Overleveling behaviour</abbr>|{{{overleveling}}} }} }}
<data source="type"><label>Type</label></data>
}}</includeonly><noinclude>
<data source="overleveling">
{{documentation}}
<label><abbr title="How the effect's behavior scales when exceeding the maximum level via commands or other means.">Overleveling behaviour</abbr></label>
<!-- Put categories/interwiki on the documentation page -->
</data>
</noinclude>
</infobox></onlyinclude><noinclude>{{Documentation}}</noinclude>