Template:Relic Infobox: Difference between revisions
Created page with "<includeonly> <infobox> <title source="title1"/> <image source="image1"> <caption source="caption-image1"/> </image> <data source="row1"/> <data source="row2"/> <data source="row3"/> <data source="row4"/> <data source="row5"/> </infobox> </includeonly> <noinclude> Example usage: {{Relic Infobox | title1=Example | image1=Example.jpg | caption-image1=Example | row1=Example | row2=Example | row3=Example | row4=Example | row5=Example}} <pr..." |
No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly>{{DISPLAYTITLE:{{{title|{{PAGENAME}}}}}|noreplace}}<infobox type="relic" theme-source="rarity"> | ||
<infobox> | <title source="title"> | ||
<default>{{PAGENAME}}</default> | |||
</title> | |||
<image source="image"> | |||
<default>Item {{SanitizeFileName|{{{title|{{PAGENAME}}}}}}}.png</default> | |||
<caption source="caption" /> | |||
</image> | |||
<group> | |||
<data source="rarity"> | |||
<label>Rarity</label> | |||
<format>{{Icon/Stars|{{{rarity|}}}}}</format> | |||
</data> | |||
<data source="kardia"> | |||
<label>Kardia</label> | |||
<format>{{#if:{{{kardia|}}}<!---->|{{Character|{{{kardia|}}}|30|nobr=1}}|}}</format> | |||
</data> | |||
<data source="stat1"> | |||
<label>{{{stat1|}}} {{Icon|{{{stat1|}}}}}</label> | |||
</data> | |||
<data source="stat2"> | |||
<label>{{{stat2|}}} {{Icon|{{{stat2|}}}}}</label> | |||
</data> | |||
<data source="effect"> | |||
<label>Effect</label> | |||
</data> | |||
<data source="description"> | |||
<label>Description</label> | |||
</data> | |||
</group> | |||
<group> | |||
<panel> | |||
<section> | |||
<label>How to Obtain</label> | |||
<data source="source1"> | |||
<label>Source{{#if:{{{source2|}}}| 1}}</label> | |||
</data> | |||
<data source="source2"> | |||
<label>Source 2</label> | |||
</data> | |||
<data source="source3"> | |||
<label>Source 3</label> | |||
</data> | |||
<data source="source4"> | |||
<label>Source 4</label> | |||
</data> | |||
<data source="source5"> | |||
<label>Source 5</label> | |||
</data> | |||
<data source="source6"> | |||
<label>Source 6</label> | |||
</data> | |||
<data source="source7"> | |||
<label>Source 7</label> | |||
</data> | |||
<data source="source8"> | |||
<label>Source 8</label> | |||
</data> | |||
<data source="source9"> | |||
<label>Source 9</label> | |||
</data> | |||
<data source="source10"> | |||
<label>Source 10</label> | |||
</data> | |||
</section> | |||
</panel> | |||
</group> | |||
</infobox> | </infobox> | ||
< | {{Namespace|main=<!-- | ||
Set page display title if title is different from page name | |||
-->{{#if:{{{id|}}}|[[Category:Item|{{{id|}}}]]|[[Category:Item]][[Category:Relics Missing ID]]}}<!-- | |||
{{ | -->[[Category:Relics]]<!-- | ||
-->{{#ifeq:{{NAMESPACE}}||<!-- | |||
-->{{#if:{{{title|}}}{{{displaytitle|}}}|{{#ifeq:{{PAGENAME}}|{{{title}}}||{{#ifeq:{{lc:{{{displaytitle|}}}}}|no||{{DISPLAYTITLE:{{{displaytitle|{{{title}}}}}}|noreplace}}}}}}}}<!-- | |||
-->}}<!-- | |||
-->{{#if:{{{type|}}}|[[Category:{{{type|}}}]]}}<!-- | |||
-->{{#if:{{{category|}}}|[[Category:{{{category|}}}]]}}<!-- | |||
-->{{#if:{{{group|}}}|[[Category:{{{group|}}}]]}}<!-- | |||
-->{{#if:{{{group2|}}}|[[Category:{{{group2|}}}]]}}<!-- | |||
-->{{#if:{{{group3|}}}|[[Category:{{{group3|}}}]]}}<!-- | |||
-->{{#if:{{{rarity|}}}|{{Array|{{{rarity}}}|;|format=[[Category:{item}-Rarity Relics]][[Category:Relics by Rarity|{item}]]}}|}}<!-- | |||
{{ | -->{{#if:{{{event|}}}|[[Category:{{{event|}}}]]}}<!-- | ||
-->}}</includeonly><noinclude>{{Documentation|type=Infobox}}</noinclude> | |||
< | |||
{ | |||
</ | |||
</noinclude> | |||