Jump to navigation Jump to search

Template:Infobox: Difference between revisions

(Blanked the page)
Tag: Blanking
No edit summary
Line 1: Line 1:
<includeonly><!--
Entry into semantic mediawiki
-->{{#if: {{NAMESPACE}} | |{{#set: has infobox name={{{ibname|{{PAGENAME}}}}}}}{{#set: has infobox type={{{ibtype|}}}}}}}<!--


The actualinfobox
-->{| class="infobox tantable {{{ibclass|}}}"
|-
! colspan="2" class="ibname" style="background-color: {{{bgcolor|#000}}}; color: {{{fgcolor|#fff}}}; font-weight: bold;" | {{ #if:{{{ibname|}}} | {{{ibname}}}|{{PAGENAME}}}}{{ #if:{{{ibnamenote|}}} | <small> {{{ibnamenote}}}</small>|}}
|-
{{ #if:{{{image|}}} |
{{!}} colspan="2" align="center" class="ibimage" style="background-color: {{{imagebgcolor|#fff}}};" {{!}} {{{image|}}}
}}
|-
{{ #if:{{{website|}}}|
{{!}} colspan="2" style="text-align: center; font-size: smaller;" {{!}} [{{{website}}} {{{pubcode|Publisher's product page}}}]
}}
|-
{{ #if:{{{ibtype|}}} |
! colspan="2" style="background-color: {{{bgcolor|#000}}}; color: {{{fgcolor|#fff}}}; font-weight: bold;" {{!}} ({{{ibtype|}}})
}}
|-
{{ #if:{{{traits|}}} |
{{!}} colspan="2" {{!}} <div class="pf2e-trait-container">{{{traits|}}}</div>
}}
{{!}}-
{{ #forargs: paramname
  | key
  | value
  | <nowiki/>
{{ #if:{{{param{{#var: key}}|}}} |
{{ #switch:{{#var: value}}
    | ISBN
    | isbn =
{{!}} valign="top"  style="font-weight: bold; text-transform: uppercase;" {{!}} {{#var: value}}
{{!}} ISBN {{{param{{#var: key}}|}}}
    | ISBNE
    | isbne =
{{!}}
{{!}} ISBN {{{param{{#var: key}}|}}} (ebook)
    | isbna
    | ISBNA =
{{!}}
{{!}} ISBN {{{param{{#var: key}}|}}} (audiobook)
    | regionmap =
{{!}} colspan="2" align="center" class="ibimage" {{!}} {{{param{{#var: key}}}}}
    | artworkby =
{{!}} colspan="2" style="text-align: center; font-size: smaller; font-weight: bold;" {{!}} [[:Category:Artwork by {{{param{{#var: key}}|}}}|Artwork by {{{param{{#var: key}}|{{PAGENAME}}}}}]]
    | imagesof =
{{!}} colspan="2" style="text-align: center; font-size: smaller; font-weight: bold;" {{!}} [[:Category:Images of {{{param{{#var: key}}|}}}|Images of {{{param{{#var: key}}|{{PAGENAME}}s}}}]]
    | gallery =
{{!}} colspan="2" style="text-align: center; font-size: smaller; font-weight: bold;" {{!}} [[:Category:Artwork from {{{param{{#var: key}}|}}}|Artwork from {{{param{{#var: key}}|{{PAGENAME}}}}}]]
    | worksby =
{{!}} colspan="2" style="text-align: center; font-size: smaller; font-weight: bold;" {{!}} [[:Category:Works by {{{param{{#var: key}}|}}}|Works by {{{param{{#var: key}}|{{PAGENAME}}}}}]]
    | source =
{{!}} align="right" colspan="2" class="ibsource" {{!}} <hr /> ''Source: {{{param{{#var: key}}|}}}{{ #if:{{{page|}}} |, pg(s).&nbsp;{{{page}}} }}
    |
{{!}} '''{{#var: value}}'''
{{!}} {{{param{{#var: key}}|}}}
}}
{{!}}-
}}
}}
|}</includeonly><noinclude>
{{Documentation}}
[[Category:Infoboxes| ]]
</noinclude>

Revision as of 12:27, 14 March 2023

Template documentation (for the above template, sometimes hidden or invisible)

Visit Template:Infobox/doc to edit this text! (How does this work?)