Difference between revisions of "Template:PGItems"

From Nookipedia, the Animal Crossing wiki
(adding First generation category)
(adding div overflows to the availability databoxes)
Line 107: Line 107:
 
  | data3 =  
 
  | data3 =  
 
{{#if: {{{availability-dnm|}}}
 
{{#if: {{{availability-dnm|}}}
     | {{#invoke: Items| outputAvailabilitiesFromList | {{{availability-dnm|}}}}} {{#if: {{{availability-dnm-other|}}} |{{#invoke: Items| outputAvailabilitiesFromList | {{{availability-dnm-other|}}}}}|}}
+
     | <div style="width:100%; overflow-x: hidden; overflow-y: auto; max-height: 200px;">{{#invoke: Items| outputAvailabilitiesFromList | {{{availability-dnm|}}}}} {{#if: {{{availability-dnm-other|}}} |{{#invoke: Items| outputAvailabilitiesFromList | {{{availability-dnm-other|}}}}}|}}</div>
 
     | {{#if: {{{availability-ique|}}}
 
     | {{#if: {{{availability-ique|}}}
         | {{#invoke: Items| outputAvailabilitiesFromList | {{{availability-ique|}}}}} {{#if: {{{availability-ique-other|}}} |{{#invoke: Items| outputAvailabilitiesFromList | {{{availability-ique-other|}}}}}|}}
+
         | <div style="width:100%; overflow-x: hidden; overflow-y: auto; max-height: 200px;">{{#invoke: Items| outputAvailabilitiesFromList | {{{availability-ique|}}}}} {{#if: {{{availability-ique-other|}}} |{{#invoke: Items| outputAvailabilitiesFromList | {{{availability-ique-other|}}}}}|}}</div>
 
     }}
 
     }}
 
}}
 
}}
Line 128: Line 128:
 
  | data4 =  
 
  | data4 =  
 
  {{#if: {{{availability-plus|}}}
 
  {{#if: {{{availability-plus|}}}
     |{{#invoke: Items| outputAvailabilitiesFromList | {{{availability-plus|}}}}}{{#if: {{{availability-plus-other|}}} |{{#invoke: Items| outputAvailabilitiesFromList | {{{availability-plus-other|}}}}}|}}
+
     |<div style="width:100%; overflow-x: hidden; overflow-y: auto; max-height: 200px;">{{#invoke: Items| outputAvailabilitiesFromList | {{{availability-plus|}}}}}{{#if: {{{availability-plus-other|}}} |{{#invoke: Items| outputAvailabilitiesFromList | {{{availability-plus-other|}}}}}|}}</div>
 
  }}
 
  }}
  
Line 145: Line 145:
 
     |{{#switch: {{{availability-pg}}}{{{availability-pg-other|}}}  
 
     |{{#switch: {{{availability-pg}}}{{{availability-pg-other|}}}  
 
         | {{{availability-plus}}}{{{availability-plus-other|}}} =
 
         | {{{availability-plus}}}{{{availability-plus-other|}}} =
         |{{#invoke: Items| outputAvailabilitiesFromList | {{{availability-pg|}}}}}{{#if: {{{availability-pg-other|}}} |{{#invoke: Items| outputAvailabilitiesFromList | {{{availability-pg-other|}}}}}|}}}}
+
         |<div style="width:100%; overflow-x: hidden; overflow-y: auto; max-height: 200px;">{{#invoke: Items| outputAvailabilitiesFromList | {{{availability-pg|}}}}}{{#if: {{{availability-pg-other|}}} |{{#invoke: Items| outputAvailabilitiesFromList | {{{availability-pg-other|}}}}}|}}}}</div>
 
}}
 
}}
  
Line 163: Line 163:
 
     | {{{availability-plus}}}{{{availability-plus-other|}}} =
 
     | {{{availability-plus}}}{{{availability-plus-other|}}} =
 
         | {{{availability-pg}}}{{{availability-pg-other|}}} =
 
         | {{{availability-pg}}}{{{availability-pg-other|}}} =
     | {{#invoke: Items| outputAvailabilitiesFromList | {{{availability-e-plus|}}}}}{{#if: {{{availability-e-plus-other|}}} |{{#invoke: Items| outputAvailabilitiesFromList | {{{availability-e-plus-other|}}}}}|}}}}
+
     | <div style="width:100%; overflow-x: hidden; overflow-y: auto; max-height: 200px;">{{#invoke: Items| outputAvailabilitiesFromList | {{{availability-e-plus|}}}}}{{#if: {{{availability-e-plus-other|}}} |{{#invoke: Items| outputAvailabilitiesFromList | {{{availability-e-plus-other|}}}}}|}}}}</div>
 
}}
 
}}
  

Revision as of 05:47, November 13, 2022

This template defines the table "pg_item". View table.

[[File:|256px|class=sprite|]]
Buy price Sell price
Not for sale Cannot be sold
Appearances
Names in other languages
 Unknown
 N/A
 N/A
 N/A
 N/A
 N/A
 N/A
 N/A
 N/A
 N/A
 N/A
 N/A
Lua Logo.svg
This template is using a Lua module
To change certain features of this template, the following modules will need to be edited:
  • Module:Items
  • Note that any changes should first be tested in a sandbox. Please consider discussing planned changes on the talk page or with staff members before implementing them.
    Lua Logo.svg
    This template is using a Lua module
    To change certain features of this template, the following modules will need to be edited:
  • Module:Items
  • Note that any changes should first be tested in a sandbox. Please consider discussing planned changes on the talk page or with staff members before implementing them.

    No documentation for Template:PGItems exists. Create it.