Template:Skill page: Difference between revisions

From Tears of Themis Wiki
imported>Elaeagnifolia
No edit summary
imported>Elaeagnifolia
Line 8: Line 8:
{{#cargo_query:tables=Card
{{#cargo_query:tables=Card
|fields=CONCAT('<div style="display:inline-block; text-align: center; padding: 8px;">[[File:', _pageName, ' icon.png|80px|link=]]<br/>', skill1, '<br/>[[', _pageName, ']]</div>')
|fields=CONCAT('<div style="display:inline-block; text-align: center; padding: 8px;">[[File:', _pageName, ' icon.png|80px|link=]]<br/>', skill1, '<br/>[[', _pageName, ']]</div>')
|where=skill1 REGEXP "{{PAGENAME}} [^A-HJ-Za-hj-z]+"
|where=skill1 REGEXP "{{PAGENAME}} [^A-HJ-Za-hj-z]+" OR skill1="{{PAGENAME}}"
|delimiter=
|delimiter=
|order by=rarity DESC, _pageName ASC
|order by=rarity DESC, _pageName ASC
Line 15: Line 15:
{{#cargo_query:tables=Card
{{#cargo_query:tables=Card
|fields=CONCAT('<div style="display:inline-block; text-align: center; padding: 8px;">[[File:', _pageName, ' icon.png|80px|link=]]<br/>', skill2, '<br/>[[', _pageName, ']]</div>')
|fields=CONCAT('<div style="display:inline-block; text-align: center; padding: 8px;">[[File:', _pageName, ' icon.png|80px|link=]]<br/>', skill2, '<br/>[[', _pageName, ']]</div>')
|where=skill2 REGEXP "{{PAGENAME}} [^A-HJ-Za-hj-z]+"
|where=skill2 REGEXP "{{PAGENAME}} [^A-HJ-Za-hj-z]+" OR skill2="{{PAGENAME}}"
|delimiter=
|delimiter=
|order by=rarity DESC, _pageName ASC
|order by=rarity DESC, _pageName ASC
Line 22: Line 22:
{{#cargo_query:tables=Card
{{#cargo_query:tables=Card
|fields=CONCAT('<div style="display:inline-block; text-align: center; padding: 8px;">[[File:', _pageName, ' icon.png|80px|link=]]<br/>', skill3, '<br/>[[', _pageName, ']]</div>')
|fields=CONCAT('<div style="display:inline-block; text-align: center; padding: 8px;">[[File:', _pageName, ' icon.png|80px|link=]]<br/>', skill3, '<br/>[[', _pageName, ']]</div>')
|where=skill3 REGEXP "{{PAGENAME}} [^A-HJ-Za-hj-z]+"
|where=skill3 REGEXP "{{PAGENAME}} [^A-HJ-Za-hj-z]+" OR skill3="{{PAGENAME}}"
|delimiter=
|delimiter=
|order by=rarity DESC, _pageName ASC
|order by=rarity DESC, _pageName ASC

Revision as of 07:33, 12 May 2021

Template-info.png Documentation

Description

Template used for skill pages. Can be easily loaded using the Boilerplate.