Permanently protected template

Difference between revisions of "Template:Archseries navbox (manga)"

From Yugipedia
Jump to: navigation, search
(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))
(top: Restoring revision 4918930 by User:Dinoguy1000 on 2022-02-26 02:28:44. convert to a wrapper for {{Archseries navbox}})
(Tags: New user edit, Replaced)
 
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{ #vardefine: $archseries-nav-name | {{ #if: {{{1|}}} | {{{1}}} | {{PAGENAME}} }} }}<!--
+
{{Archseries navbox|{{{1|}}}
-->{{ #vardefine: $archseries-list-name | {{ #explode: {{ #explode: {{ #var: $archseries-nav-name }} | (series) }} | (archetype) }} }}<!--
+
| medium      = manga
-->{{ #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 }} }}<!--
+
| child        = {{{child|}}}
-->{{ #vardefine: $cut_names | {{ #show: {{ #var: $archseries-nav-name }} |?Cut from card names }} }}<!--
+
| state        = {{{state|}}}
 
+
| name         = {{{name|}}}
-->{{Navbox
+
| member       = {{{member|}}}
| name       = Archseries navbox (anime)
+
| support      = {{{support|}}}
| 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>
+
| anti-support = {{{anti-support|}}}
| bodyclass  = hlist
+
| related     = {{{related|}}}
 
+
}}<noinclude>
| group1    = [[List of "{{ #var: $archseries-list-name }}" cards|Members]]
+
{{Documentation}}
| list1      = {{ #ask: [[Archseries::{{ #var: $archseries-nav-name }}]][[Category:Manga cards]] |?English name |format=template |template=Archseries navbox/link |link=none |format=ul |limit=60 }}
+
</noinclude>
 
 
| group2    = [[List of "{{ #var: $archseries-list-name }}" support cards|Support]]
 
| list2     = {{ #ask: [[Archetype support::{{ #var: $archseries-nav-name }}]][[Category:Manga cards]] |?English name (linked) |format=ul |mainlabel=-|headers=hide |link=none }}
 
 
 
| group3    = [[List of "{{ #var: $archseries-list-name }}" anti-support cards|Anti-support]]
 
| list3      = {{ #ask: [[Archetype anti-support::{{ #var: $archseries-nav-name }}]][[Category:Manga cards]] |?English name (linked) |format=ul |mainlabel=-|headers=hide |link=none }}
 
 
 
| group4    = Related
 
| list4     = {{ #ask: [[Archseries related::{{ #var: $archseries-nav-name }}]][[Category:Manga cards]] |?English name (linked) |format=ul |mainlabel=-|headers=hide |link=none |sort=English name (linked) }}
 
}}</includeonly><noinclude>
 
 
 
{{documentation}}</noinclude>
 

Latest revision as of 22:46, 17 March 2023