Difference between revisions of "Template:Infobox location"

From Diary of a Wimpy Kid Wiki
Jump to navigation Jump to search
m
m (Text replacement - "{{Infobox place" to "{{infobox location")
 
(7 intermediate revisions by the same user not shown)
Line 18: Line 18:
}}
}}
{{#if: {{{owner|}}}|
{{#if: {{{owner|}}}|
{{!}} style="background-color:#EEE; color:#000;" {{!}}'''Owner'''
{{!}} style="background-color:#EEE; color:#000;" {{!}}'''Owner(s)'''
{{!}} style="padding:3px" {{!}}{{{owner|}}}
{{!}} style="padding:3px" {{!}}{{{owner|}}}
{{!}}-|}}
{{!}}-|}}
{{#if:{{{founder<includeonly>|</includeonly>}}} |
{{!}} style="background-color:#EEE; color:#000;" {{!}}'''Founder(s)'''
{{!}}{{{founder}}}
{{!}}-
}}
{{#if: {{{residents|}}}|
{{#if: {{{residents|}}}|
{{!}} style="background-color:#EEE; color:#000;" {{!}}'''Known residents'''
{{!}} style="background-color:#EEE; color:#000;" {{!}}'''Known residents'''
Line 37: Line 42:
{{!}} style="padding:3px" {{!}}{{{description|}}}
{{!}} style="padding:3px" {{!}}{{{description|}}}
{{!}}-|}}
{{!}}-|}}
{{#if: {{{usage|}}}|
{{#if:{{{usage<includeonly>|</includeonly>}}} |
{{!}} style="background-color:#EEE; color:#000;" {{!}}'''Usage'''
{{!}} style="background-color:#EEE; color:#000;" {{!}}'''Usage'''
{{!}} style="padding:3px" {{!}}{{{usage|}}}
{{!}}{{{usage}}}
{{!}}-|}}
{{#if:{{{first<includeonly>|</includeonly>}}} |
{{!}} style="background-color:#EEE; color:#000;" {{!}}'''First appearance'''
{{!}}{{{first}}}
{{!}}-
{{!}}-
}}
}}
{{#if: {{{first|}}}|
{{!}} style="background-color:#EEE; color:#000;" {{!}}'''First appearance'''
{{!}} style="padding:3px" {{!}}{{{first|}}}
{{!}}-|}}
{{#if: {{{only|}}}|
{{#if: {{{only|}}}|
{{!}} style="background-color:#EEE; color:#000;" {{!}}'''Only appearance'''
{{!}} style="background-color:#EEE; color:#000;" {{!}}'''Only appearance'''
{{!}} style="padding:3px" {{!}}{{{only|}}}
{{!}} style="padding:3px" {{!}}{{{only|}}}
{{!}}-|}}
{{!}}-|}}
{{#if:{{{last<includeonly>|</includeonly>}}} |
{{#if: {{{last|}}}|
{{!}} style="background-color:#EEE; color:#000;" {{!}}'''Last appearance'''
{{!}} style="background-color:#EEE; color:#000;" {{!}}'''Last appearance'''
{{!}}{{{last}}}
{{!}} style="padding:3px" {{!}}{{{last|}}}
{{!}}-
{{!}}-|}}
}}
|}</div>{{#if:{{{real|}}}|<includeonly>[[Category:Real-life locations]]</includeonly>|}}<noinclude>
|}</div><noinclude><span style="margin:-10px 0 0 0; font-size:xx-small; clear:right; float:right;">[[Template:Infobox-Place|[view]]] • [[Template talk:Infobox-Place|[talk]]]</span>
{{clear}}


==Info==
==Info==
Line 64: Line 67:
To use the template, copy and paste the following into the top of a group or organization page.
To use the template, copy and paste the following into the top of a group or organization page.
<pre>
<pre>
{{Infobox-Place
{{infobox location
|image=
|image=
|caption=
|caption=
Line 70: Line 73:
|location=
|location=
|owner=
|owner=
|founder=
|residents=
|residents=
|visitors=
|visitors=
Line 78: Line 82:
|only=
|only=
|last=
|last=
|real=
}}
}}
</pre>
</pre>

Latest revision as of 03:40, 3 May 2023

Infobox location
{{{image}}}
Name {{{name}}}
Location {{{location}}}
Founder(s) {{{founder}}}
Usage {{{usage}}}

Info

This is a template made specifically for locations related to the Diary of a Wimpy Kid series.

Skeleton

To use the template, copy and paste the following into the top of a group or organization page.

{{infobox location
|image=
|caption=
|name=
|location=
|owner=
|founder=
|residents=
|visitors=
|employees=
|description=
|usage=
|first=
|only=
|last=
|real=
}}