Template:Magia Record Formation: Difference between revisions
Jump to navigation
Jump to search
(Fix parentheses in the caption) |
(Support thumb mode, like an image) |
||
Line 43: | Line 43: | ||
*effectBR | *effectBR | ||
You can alter the size with <tt>size=123</tt>, no unit; the default is 350. The formatting will start to break down below around 150.</noinclude><includeonly> | You can alter the size with <tt>size=123</tt>, no unit; the default is 350. The formatting will start to break down below around 150. You can also make it display like a thumbnail image using <tt>mode=thumb|and an optional caption</tt>.</noinclude><includeonly> | ||
{{#ifeq:{{{mode|}}}|thumb|<div class="thumb tright"><div class="thumbinner">}} | |||
{| style="table-layout: fixed; width: {{{size|350}}}px; height: {{{size|350}}}px; margin: 10px auto; border: solid 5px #375C95; text-align: center; font-size: small; border-collapse: collapse" | {| style="table-layout: fixed; width: {{{size|350}}}px; height: {{{size|350}}}px; margin: 10px auto; border: solid 5px #375C95; text-align: center; font-size: small; border-collapse: collapse" | ||
|+ '''{{{en|}}}{{#if:{{{en|}}}|{{#if:{{{jp|}}}|<span> </span>(}}}}{{{jp|}}}{{#if:{{{en|}}}|{{#if:{{{jp|}}}|)}}}}''' | |+ '''{{{en|}}}{{#if:{{{en|}}}|{{#if:{{{jp|}}}|<span> </span>(}}}}{{{jp|}}}{{#if:{{{en|}}}|{{#if:{{{jp|}}}|)}}}}''' | ||
Line 58: | Line 59: | ||
{{Magia Record Formation/cell|attr={{{8|}}}|effect={{{effectBottom|}}}|size={{#expr:({{{size|350}}} - 20) / 3}}}} | {{Magia Record Formation/cell|attr={{{8|}}}|effect={{{effectBottom|}}}|size={{#expr:({{{size|350}}} - 20) / 3}}}} | ||
{{Magia Record Formation/cell|attr={{{9|}}}|effect={{{effectBR|}}}|size={{#expr:({{{size|350}}} - 20) / 3}}}} | {{Magia Record Formation/cell|attr={{{9|}}}|effect={{{effectBR|}}}|size={{#expr:({{{size|350}}} - 20) / 3}}}} | ||
|}</includeonly> | |}{{#ifeq:{{{mode|}}}|thumb|{{#if:{{{10|}}}|<div class="thumbcaption>{{{10}}}</div>}}</div></div>}}</includeonly> |
Latest revision as of 04:18, 25 August 2023
Formats a Magia Record formation as a table.
{{Magia Record Formation |en=Brave Echelon |jp=ブレイブ・エシュロン | none | | none | | all | | none | | none |effectMid=buff-attack,buff-defense }} |
|
Possible values in the grid are:
- none
- all
- aqua
- flame
- forest
- light
- dark
- void
Leaving a grid space blank indicates the space is unavailable to that formation.
The keys to specify an effect are:
- effectTL
- effectTop
- effectTR
- effectLeft
- effectMid
- effectRight
- effectBL
- effectBottom
- effectBR
You can alter the size with size=123, no unit; the default is 350. The formatting will start to break down below around 150. You can also make it display like a thumbnail image using mode=thumb|and an optional caption.