Difference between revisions of "Template:NLWaRV"

From Nookipedia, the Animal Crossing wiki
m
m (adding description)
Line 1: Line 1:
 
<noinclude>{{#cargo_declare:
 
<noinclude>{{#cargo_declare:
 
_table=nlwa_rv
 
_table=nlwa_rv
|villager = String
+
|name = String
 +
|description = String
 
|interior_image = String
 
|interior_image = String
 
|interior_image_url = String
 
|interior_image_url = String
Line 20: Line 21:
 
{{#cargo_store:
 
{{#cargo_store:
 
_table=nlwa_rv
 
_table=nlwa_rv
|villager = {{#cargo_query:table=villager|fields=name|where=_pageTitle="{{PAGENAME}}"|no html}}
+
|name = {{#incat:Villagers|{{#cargo_query:table=villager|fields=name|where=_pageTitle="{{PAGENAME}}"|no html}}|{{#cargo_query:table=special_character|fields=name|where=_pageTitle="{{PAGENAME}}"|no html}}}}
 +
|description = {{{description|}}}
 
|interior_image = {{#if:{{{int|}}}|{{{int|}}}|{{#if:{{{image|}}}|{{{image|}}}}}}}
 
|interior_image = {{#if:{{{int|}}}|{{{int|}}}|{{#if:{{{image|}}}|{{{image|}}}}}}}
 
|interior_image_url = {{filepath:{{#if:{{{int|}}}|{{{int|}}}|{{#if:{{{image|}}}|{{{image|}}}}}}}}}
 
|interior_image_url = {{filepath:{{#if:{{{int|}}}|{{{int|}}}|{{#if:{{{image|}}}|{{{image|}}}}}}}}}
Line 41: Line 43:
 
<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="width: 360px; padding:0px 6px 6px 3px; text-align:right;"
 +
| style="padding: 3px; vertical-align:top;" | '''Description:'''
 +
| style="background: #ffffff; padding: 0 0 0 7px; {{roundytop|8px}} text-align:left;" | ''{{{description|No description.}}}''
 +
|-
 
| style="padding: 3px; vertical-align:top;" | '''Items:'''
 
| style="padding: 3px; vertical-align:top;" | '''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; text-align:{{#if:{{{furniture|}}}|left|center}};" | {{#if:{{{furniture|}}}|{{{furniture|}}}<includeonly>[[Category:Pages with an outdated house template]]</includeonly>|
 
<div style="display:inline-block;">{{(!}} style{{=}}"text-align:left;"
 
<div style="display:inline-block;">{{(!}} style{{=}}"text-align:left;"
 
{{#forargs: furn
 
{{#forargs: furn

Revision as of 02:49, December 5, 2020

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

Nia blue upload.png
Nia blue upload.png
Description: No description.
Items:
Wallpaper: 24px 
Floor: 24px 
Music: No music


Template documentation (view)


More Cargo templates