Difference between revisions of "Template:Infobox arc"
(consistent label and font sizes) |
Dinoguy1000 (talk | contribs) (restore from the Internet Archive (September 28, 2021 <https://web.archive.org/web/20210928143128/https://yugipedia.com/wiki/Template:Infobox_arc?action=edit>)) |
||
Line 2: | Line 2: | ||
-->{{Infobox | -->{{Infobox | ||
− | | bodyclass = | + | | bodyclass = infobox-yugipedia plainlist |
− | | titlestyle = | + | | titlestyle = padding: 0.2em; border-style: solid; border-width: 1px 1px 0 1px; |
− | + | | labelstyle = width: 10em; | |
− | | labelstyle = | ||
− | | title = {{ #if: {{{name|}}} | {{{name}}} | {{ #var: $pagename }} }} | + | | title = "{{ #if: {{{name|}}} | {{{name}}} | {{ #var: $pagename }} }}" |
| image = {{ #if: {{{image|}}} | [[File:{{PAGENAME:{{{image}}}}}|link=File:{{PAGENAME:{{{image}}}}}|{{ #iferror: {{ #ifexpr: {{{width}}} < 275 | {{{width}}} | 275 }} | 275 }}px|{{ #if: {{{caption|}}} | {{{caption}}} | {{ #if: {{{name|}}} | {{{name}}} | {{ #var: $pagename }} }} }}]] }} | | image = {{ #if: {{{image|}}} | [[File:{{PAGENAME:{{{image}}}}}|link=File:{{PAGENAME:{{{image}}}}}|{{ #iferror: {{ #ifexpr: {{{width}}} < 275 | {{{width}}} | 275 }} | 275 }}px|{{ #if: {{{caption|}}} | {{{caption}}} | {{ #if: {{{name|}}} | {{{name}}} | {{ #var: $pagename }} }} }}]] }} | ||
Line 18: | Line 17: | ||
| {{Infobox | | {{Infobox | ||
| child = yes | | child = yes | ||
− | + | | labelstyle = width: 10em; | |
− | | labelstyle = | ||
| header1 = Names | | header1 = Names | ||
Line 32: | Line 30: | ||
| bodyclass = collapsible | | bodyclass = collapsible | ||
| bodystyle = border: 0; font-size: 1em; margin: 0 -4px; padding: 0; width: calc(100% + 8px); | | bodystyle = border: 0; font-size: 1em; margin: 0 -4px; padding: 0; width: calc(100% + 8px); | ||
− | | headerstyle = | + | | headerstyle = text-align: left; |
− | | labelstyle = | + | | labelstyle = width: 10em; |
| header1 = Japanese | | header1 = Japanese | ||
Line 72: | Line 70: | ||
| bodyclass = collapsible collapsed | | bodyclass = collapsible collapsed | ||
| bodystyle = border: 0; font-size: 1em; margin: 0 -4px; padding: 0; width: calc(100% + 8px); | | bodystyle = border: 0; font-size: 1em; margin: 0 -4px; padding: 0; width: calc(100% + 8px); | ||
− | | headerstyle = | + | | headerstyle = text-align: left; |
− | | labelstyle = | + | | labelstyle = width: 10em; |
| header1 = Korean | | header1 = Korean | ||
Line 98: | Line 96: | ||
| bodyclass = collapsible collapsed | | bodyclass = collapsible collapsed | ||
| bodystyle = border: 0; font-size: 1em; margin: 0 -4px; padding: 0; width: calc(100% + 8px); | | bodystyle = border: 0; font-size: 1em; margin: 0 -4px; padding: 0; width: calc(100% + 8px); | ||
− | | headerstyle = | + | | headerstyle = text-align: left; |
− | | labelstyle = | + | | labelstyle = width: 10em; |
| header1 = Other languages | | header1 = Other languages | ||
Line 130: | Line 128: | ||
| {{Infobox | | {{Infobox | ||
| child = yes | | child = yes | ||
− | + | | labelstyle = width: 10em; | |
− | | labelstyle = | ||
| header1 = Arc | | header1 = Arc | ||
Line 155: | Line 152: | ||
| label8 = Previous | | label8 = Previous | ||
− | | data8 = {{{prev<includeonly>|</includeonly>}}} | + | | data8 = {{ #if: {{{prev<includeonly>|</includeonly>}}} |
+ | | {{ #if: {{ #pos: {{{prev}}} | '' }} | ||
+ | | {{{prev}}} | ||
+ | | "{{{prev}}}" | ||
+ | }} | ||
+ | }} | ||
| label9 = Next | | label9 = Next | ||
− | | data9 = {{{next<includeonly>|</includeonly>}}} | + | | data9 = {{ #if: {{{next<includeonly>|</includeonly>}}} |
+ | | {{ #if: {{ #pos: {{{next}}} | '' }} | ||
+ | | {{{next}}} | ||
+ | | "{{{next}}}" | ||
+ | }} | ||
+ | }} | ||
}} | }} | ||
Line 164: | Line 171: | ||
}}<noinclude> | }}<noinclude> | ||
− | + | {{Documentation}} | |
[[Category:Infobox templates]]</noinclude> | [[Category:Infobox templates]]</noinclude> |
Latest revision as of 23:37, 10 December 2023
Names | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
English | {{{en_name}}} | ||||||||||||
| |||||||||||||
| |||||||||||||
| |||||||||||||
Arc | |||||||||||||
Medium | {{{medium}}} | ||||||||||||
Series | {{{series}}} | ||||||||||||
Original run | {{{start_date}}}– | ||||||||||||
First chapter | {{{first}}} | ||||||||||||
Last chapter | {{{last}}} | ||||||||||||
Chronology | |||||||||||||
Previous | "{{{prev}}}" | ||||||||||||
Next | "{{{next}}}" |