Difference between revisions of "Template:Strip formatting"

From Tokyo Afterschool Summoners
Jump to navigation Jump to search
Line 2: Line 2:
|{{#if:{{#explode:{{{1|}}}|weapon|1}}|{{#explode:{{#explode:{{{1|}}}|{{))!}}{{!((}}|1}}|{{))!}}|0}}
|{{#if:{{#explode:{{{1|}}}|weapon|1}}|{{#explode:{{#explode:{{{1|}}}|{{))!}}{{!((}}|1}}|{{))!}}|0}}
|{{#if:{{#explode:{{{1|}}}|Element|1}}|{{#explode:{{#explode:{{{1|}}}|{{))!}}{{!((}}|1}}|{{!}}|0}}
|{{#if:{{#explode:{{{1|}}}|Element|1}}|{{#explode:{{#explode:{{{1|}}}|{{))!}}{{!((}}|1}}|{{!}}|0}}
|{{#if:{{#explode:{{{1|}}}|equipment|1}}|{{#explode:{{#explode:{{{1|}}}|{{!}}|2}}|{{))!}}|0}}
|{{{1|}}}}}
|{{{1|}}}}}
}}
}}
}}
}}</includeonly></onlyinclude>
}}</includeonly></onlyinclude>
Line 8: Line 10:
This template is aimed to transform a formatted entity back to plain text. This can be used to fix strip marker errors in properties.
This template is aimed to transform a formatted entity back to plain text. This can be used to fix strip marker errors in properties.


Currently supported formats: small transient icons, attributes, weapons.
Currently supported formats: small transient and AR icons, attributes, weapons.


<pre>{{Strip formatting|{{Transient icon|Surtr}}}}</pre>
<pre>{{Strip formatting|{{Transient icon|Surtr}}}}</pre>
Line 16: Line 18:
<pre>{{Strip formatting|{{Attribute|Infernal}}}}</pre>
<pre>{{Strip formatting|{{Attribute|Infernal}}}}</pre>
{{Strip formatting|{{Attribute|Infernal}}}}
{{Strip formatting|{{Attribute|Infernal}}}}
<pre>{{Strip formatting|{{AR Equipment|id=5036}}}}</pre>
{{Strip formatting|{{AR Equipment|id=5036}}}}
</noinclude>
</noinclude>

Revision as of 12:53, 1 July 2020


This template is aimed to transform a formatted entity back to plain text. This can be used to fix strip marker errors in properties.

Currently supported formats: small transient and AR icons, attributes, weapons.

{{Strip formatting|{{Transient icon|Surtr}}}}

Surtr

{{Strip formatting|{{Weapon|Long Slash}}}}

Long Slash

{{Strip formatting|{{Attribute|Infernal}}}}

Infernal

{{Strip formatting|{{AR Equipment|id=5036}}}}

Father and Child