Template:Infobox: Difference between revisions
Jump to navigation
Jump to search
en>Primefac (Undid revision 855063393 by Jdlrobson (talk) rather problematic change mentioned on talk page, reverting until it can be sorted) |
(Created page with "<noinclude> {{#cargo_declare: _table = Entity |name = Wikitext string |type = Wikitext string }} </noinclude><includeonly><!-- Entry into the cargo table if in main namespace...") |
||
Line 1: | Line 1: | ||
{{# | <noinclude> | ||
{{ | {{#cargo_declare: | ||
_table = Entity | |||
|name = Wikitext string | |||
|type = Wikitext string | |||
}} | |||
</noinclude><includeonly><!-- | |||
Entry into the cargo table if in main namespace | |||
-->{{#if: {{NAMESPACE}} | | {{#cargo_store: | |||
_table = Entity | |||
|name = {{ #if:{{{ibname|}}} | {{{ibname}}}|{{PAGENAME}}}} | |||
|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:{{{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). {{{page}}} }} | |||
| | |||
{{!}} '''{{#var: value}}''' | |||
{{!}} {{{param{{#var: key}}|}}} | |||
}} | |||
{{!}}- | |||
}} | |||
}} | |||
|}</includeonly><noinclude> | |||
[[Category:Infoboxes| ]] | |||
</noinclude> | </noinclude> |
Revision as of 15:02, 23 August 2022
This template defines the table "Entity". This table has not been created yet.