Difference between revisions of "Template:PGHouse"

From Nookipedia, the Animal Crossing wiki
(Removing links for decorative images)
(Converting hard widths to max-widths to allow for mobile scaling)
Line 43: Line 43:
 
}} ]
 
}} ]
 
|notes =  
 
|notes =  
}}}}</includeonly><div class="house-flex-container" style="width: max-content; background: #B3DAE7; border: 2px solid #8CBCD1; text-align: center; {{roundy|8px}};">
+
}}}}</includeonly><div class="house-flex-container" style="max-width: max-content; background: #B3DAE7; border: 2px solid #8CBCD1; text-align: center; {{roundy|8px}};">
<div class="house-flex-item house-img" style="padding:5px;">{{#if:{{{ext|}}}|[[File:{{{ext|}}}|360px|Exterior of {{PAGENAME}}'s house in {{{{{game|PG}}}|nolink}}]]|[[File:nia blue upload.png|link=Special:Upload]]}}</div>
+
<div class="house-flex-item house-img" style="padding:5px;">{{#if:{{{ext|}}}|[[File:{{{ext|}}}|Exterior of {{PAGENAME}}'s house in {{{{{game|PG}}}|nolink}}]]|[[File:nia blue upload.png|link=Special:Upload]]}}</div>
<div class="house-flex-item house-img" style="padding:5px;">{{#if:{{{int|}}}|[[File:{{{int|}}}|360px|Interior of {{PAGENAME}}'s house in {{{{{game|PG}}}|nolink}}]]|[[File:nia blue upload.png|link=Special:Upload]]}}</div>
+
<div class="house-flex-item house-img" style="padding:5px;">{{#if:{{{int|}}}|[[File:{{{int|}}}|Interior of {{PAGENAME}}'s house in {{{{{game|PG}}}|nolink}}]]|[[File:nia blue upload.png|link=Special:Upload]]}}</div>
 
<div class="house-flex-item" style="display: table-cell; vertical-align: middle;">
 
<div class="house-flex-item" style="display: table-cell; vertical-align: middle;">
{| style="width: 360px; padding:0px 6px 6px 3px; text-align:right;"
+
{| style="max-width: 360px; padding:0px 6px 6px 3px; text-align:right;"
 
| style="padding: 3px; vertical-align:top;" | '''{{#if:{{{islander|}}}|Item:|Items:}}'''
 
| style="padding: 3px; vertical-align:top;" | '''{{#if:{{{islander|}}}|Item:|Items:}}'''
 
| style="background: #ffffff; padding: 0 3px 0 7px; {{roundytop|8px}}; text-align:{{#if:{{{furniture|}}}|left|center}};" | {{#if:{{{furniture|}}}|{{{furniture|}}}<includeonly>[[Category:Pages with an outdated house template]]</includeonly>|
 
| style="background: #ffffff; padding: 0 3px 0 7px; {{roundytop|8px}}; text-align:{{#if:{{{furniture|}}}|left|center}};" | {{#if:{{{furniture|}}}|{{{furniture|}}}<includeonly>[[Category:Pages with an outdated house template]]</includeonly>|

Revision as of 17:50, October 22, 2021

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

Nia blue upload.png
Nia blue upload.png
Items:
Requested
items:
Wall: 24px [[Item: (Animal Crossing)|]]
Floor: 24px [[Item: (Animal Crossing)|]]
Music: No music


No documentation for Template:PGHouse exists. Create it.