Template:Rapport Infobox: Difference between revisions

replacing level with rank params + link format
character -> anima
Line 6: Line 6:
     <caption source="caption"/>
     <caption source="caption"/>
   </image>
   </image>
   <data source="character">
   <data source="anima">
<label>Character</label>
<label>Anima</label>
     <format>[[{{{character}}}]]</format>
     <format>[[{{{anima}}}]]</format>
   </data>
   </data>
   <data source="rank">
   <data source="rank">
Line 16: Line 16:
<data source="rank">
<data source="rank">
<label>Previous</label>
<label>Previous</label>
<format>{{#ifexpr:{{{rank}}} > 1|[[{{{character}}}'s Rapport {{#expr:{{{rank}}} - 1}}|Rank {{#expr:{{{rank}}} - 1}}]]|-}}</format>
<format>{{#ifexpr:{{{rank}}} > 1|[[{{{anima}}}'s Rapport {{#expr:{{{rank}}} - 1}}|Rank {{#expr:{{{rank}}} - 1}}]]|-}}</format>
</data>
</data>
<data source="rank">
<data source="rank">
<label>Next</label>
<label>Next</label>
<format>{{#ifexpr:{{{rank}}} < 6|[[{{{character}}}'s Rapport {{#expr:{{{rank}}} + 1}}|Rank {{#expr:{{{rank}}} + 1}}]]|-}}</format>
<format>{{#ifexpr:{{{rank}}} < 6|[[{{{anima}}}'s Rapport {{#expr:{{{rank}}} + 1}}|Rank {{#expr:{{{rank}}} + 1}}]]|-}}</format>
</data>
</data>
</group>
</group>
Line 44: Line 44:
-->{{Namespace|main=<!--
-->{{Namespace|main=<!--
-->[[Category:Rapport]]<!--
-->[[Category:Rapport]]<!--
-->{{#if:{{{character|}}}|<!--
-->{{#if:{{{anima|}}}|<!--
-->[[Category:{{{character}}} Rapports]]}}<!--
-->[[Category:{{{anima}}} Rapports]]}}<!--
-->{{#if:{{{rank|}}}|[[Category:Rank {{{rank}}} Rapports]]}}<!--
-->{{#if:{{{rank|}}}|[[Category:Rank {{{rank}}} Rapports]]}}<!--
-->{{#if:{{{scale_att|}}}|{{Array|{{{scale_att}}}|;|[[Category:{item} Scaling Rapports]]<!---->}}|}}<!--
-->{{#if:{{{scale_att|}}}|{{Array|{{{scale_att}}}|;|[[Category:{item} Scaling Rapports]]<!---->}}|}}<!--
-->{{#if:{{{utility|}}}|{{Array|{{{utility}}}|;|[[Category:{item} Rapports]]<!---->}}|}}<!--
-->{{#if:{{{utility|}}}|{{Array|{{{utility}}}|;|[[Category:{item} Rapports]]<!---->}}|}}<!--
-->}}</includeonly><noinclude>{{Documentation|type=Infobox}}</noinclude>
-->}}</includeonly><noinclude>{{Documentation|type=Infobox}}</noinclude>