Difference between revisions of "Template:Archseries navbox (manga)"
(The archetype name doesn't consistently appear in (anti-)support cards. Some don't have it, some don't. Some have it in the middle, rather than the start/end.) |
Dinoguy1000 (talk | contribs) (add indicator that this is a manga archseries and commented-out code for indicating if a card is a member, (anti-)support, or related (to be figured out properly later)) |
||
Line 1: | Line 1: | ||
<includeonly>{{ #vardefine: $archseries-nav-name | {{ #if: {{{1|}}} | {{{1}}} | {{PAGENAME}} }} }}<!-- | <includeonly>{{ #vardefine: $archseries-nav-name | {{ #if: {{{1|}}} | {{{1}}} | {{PAGENAME}} }} }}<!-- | ||
-->{{ #vardefine: $archseries-list-name | {{ #explode: {{ #explode: {{ #var: $archseries-nav-name }} | (series) }} | (archetype) }} }}<!-- | -->{{ #vardefine: $archseries-list-name | {{ #explode: {{ #explode: {{ #var: $archseries-nav-name }} | (series) }} | (archetype) }} }}<!-- | ||
+ | -->{{ #vardefine: $archseries-type | {{ #ifexpr: {{ #ask: <q>[[Archetype support::{{ #var: $archseries-nav-name }}]] OR [[Archetype anti-support::{{ #var: $archseries-nav-name }}]]</q>[[Category:Manga cards]] | format=count }} > 0 | archetype | series }} }}<!-- | ||
-->{{ #vardefine: $cut_names | {{ #show: {{ #var: $archseries-nav-name }} |?Cut from card names }} }}<!-- | -->{{ #vardefine: $cut_names | {{ #show: {{ #var: $archseries-nav-name }} |?Cut from card names }} }}<!-- | ||
-->{{Navbox | -->{{Navbox | ||
− | | name = Archseries navbox ( | + | | name = Archseries navbox (anime) |
− | | title = "[[{{ #var: $archseries-nav-name }}|{{ #if: 1 | {{ #explode: {{ #var: $archseries-nav-name }} | ( }} }}]]" {{ #show: {{ #var: $archseries-nav-name }} |?{{ #if: {{ #show: {{ #var: $archseries-nav-name }} |?Ruby text }} | Ruby text | Japanese name }} }} | + | | title = "[[{{ #var: $archseries-nav-name }}|{{ #if: 1 | {{ #explode: {{ #var: $archseries-nav-name }} | ( }} }}]]" {{ #show: {{ #var: $archseries-nav-name }} |?{{ #if: {{ #show: {{ #var: $archseries-nav-name }} |?Ruby text }} | Ruby text | Japanese name }} }}<span style="float: right; line-height: normal; font-variant: small-caps;"><span class="explain" style="font-variant: normal;" title="This {{ #var: $archseries-type }} is featured in the manga.">m</span> <!-- (gotta figure out how this is gonna work) span class="explain" title="This card is a member of this {{ #var: $archseries-type }}.">m</span> <span class="explain" title="This card supports this archetype.">+</span> <span class="explain" title="This card anti-supports this archetype.">-</span> <span class="explain" title="This card is related to this {{ #var: $archseries-type }}.">r</span --></span> |
| bodyclass = hlist | | bodyclass = hlist | ||