Template:Relic Infobox: Difference between revisions

From Honkai: Nexus Anima Wiki
Jump to navigation Jump to search
Els236 (talk | contribs)
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..."
 
Els236 (talk | contribs)
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly>{{DISPLAYTITLE:{{{title|{{PAGENAME}}}}}|noreplace}}<infobox type="relic" theme-source="rarity">
<infobox>
<title source="title">
  <title source="title1"/>
<default>{{PAGENAME}}</default>
  <image source="image1">
</title>
    <caption source="caption-image1"/>
<image source="image">
  </image>
<default>Item {{SanitizeFileName|{{{title|{{PAGENAME}}}}}}}.png</default>
  <data source="row1"/>
<caption source="caption" />
  <data source="row2"/>
</image>
  <data source="row3"/>
<group>
  <data source="row4"/>
<data source="rarity">
  <data source="row5"/>
<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|}}}|&nbsp;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>
</includeonly>
{{Namespace|main=<!--
<noinclude>
Set page display title if title is different from page name
Example usage:
-->{{#if:{{{id|}}}|[[Category:Item|{{{id|}}}]]|[[Category:Item]][[Category:Relics Missing ID]]}}<!--
{{Relic Infobox
-->[[Category:Relics]]<!--
  | title1=Example
-->{{#ifeq:{{NAMESPACE}}||<!--
  | image1=Example.jpg
-->{{#if:{{{title|}}}{{{displaytitle|}}}|{{#ifeq:{{PAGENAME}}|{{{title}}}||{{#ifeq:{{lc:{{{displaytitle|}}}}}|no||{{DISPLAYTITLE:{{{displaytitle|{{{title}}}}}}|noreplace}}}}}}}}<!--
  | caption-image1=Example
-->}}<!--
  | row1=Example
-->{{#if:{{{type|}}}|[[Category:{{{type|}}}]]}}<!--
  | row2=Example
-->{{#if:{{{category|}}}|[[Category:{{{category|}}}]]}}<!--
  | row3=Example
-->{{#if:{{{group|}}}|[[Category:{{{group|}}}]]}}<!--
  | row4=Example
-->{{#if:{{{group2|}}}|[[Category:{{{group2|}}}]]}}<!--
  | row5=Example}}
-->{{#if:{{{group3|}}}|[[Category:{{{group3|}}}]]}}<!--
<pre>
-->{{#if:{{{rarity|}}}|{{Array|{{{rarity}}}|;|format=[[Category:{item}-Rarity Relics]][[Category:Relics by Rarity|{item}]]}}|}}<!--
{{Relic Infobox
-->{{#if:{{{event|}}}|[[Category:{{{event|}}}]]}}<!--
  | title1=Example
-->}}</includeonly><noinclude>{{Documentation|type=Infobox}}</noinclude>
  | image1=Example.jpg
  | caption-image1=Example
  | row1=Example
  | row2=Example
  | row3=Example
  | row4=Example
  | row5=Example}}
</pre>
<templatedata>
{"params":{"title1":{"suggested":true},"image1":{"suggested":true},"caption-image1":{"suggested":true},"row1":{"suggested":true},"row2":{"suggested":true},"row3":{"suggested":true},"row4":{"suggested":true},"row5":{"suggested":true}},"sets":[],"maps":{}}
</templatedata>
</noinclude>

Revision as of 14:15, 6 November 2025

Documentation icon Template documentation
Note: parts of or the entire template might not be visible without values provided.

The documentation for this template is missing. Click here to create it.