The wiki is lacking in content. You can help by creating a new article. See the to do list for more ways you can help.
Difference between revisions of "Template:Infobox Location"
From Final Fantasy Wiki
Jump to navigationJump to search
m (3px margin) |
(cleanup code) |
||
Line 1: | Line 1: | ||
{| | {| class="infobox" style="width:300px" | ||
|- style="background-color:#66da59" | |- style="background-color:#66da59" | ||
!colspan="2"| | !colspan="2" | {{{name|{{PAGENAME}}}}} | ||
|- | |- | ||
|colspan="2" style="text-align:center"|{{{image|}}}{{#if:{{{caption|}}}|<br>{{{caption|}}}}} | |colspan="2" style="text-align:center"|{{{image|}}}{{#if:{{{caption|}}}|<br>{{{caption|}}}}} | ||
|-{{#if:{{{jname| | |-{{#if:{{{jname| | ||
{{!}}colspan="2" style="text-align:center; background:#daf6d7 | {{!}}colspan="2" style="text-align:center; background:#daf6d7"{{!}}{{{jname|}}}<br>{{#if:{{{romaji|}}}|''{{{romaji}}}''}} | ||
|- | |- | ||
{{#if: {{{games|}}} | {{!}}-style="background-color:#A0E898" | {{#if: {{{games|}}} | {{!}}-style="background-color:#A0E898" | ||
{{!}} '''Game appearance(s)''' | |||
{{!}} {{{games}}} | {{!}}- }} | {{!}} {{{games}}} | {{!}}- }} | ||
{{#if: {{{type|}}} | {{!}}-style="background-color:#A0E898" | {{#if: {{{type|}}} | {{!}}-style="background-color:#A0E898" | ||
{{!}} '''Type''' | |||
{{!}} {{{type}}} | {{!}}- }} | {{!}} {{{type}}} | {{!}}- }} | ||
{{#if: {{{greaterloc|}}} | {{!}}-style="background-color:#A0E898" | {{#if: {{{greaterloc|}}} | {{!}}-style="background-color:#A0E898" | ||
{{!}} '''Greater location''' | |||
{{!}} {{{greaterloc}}} | {{!}}- }} | {{!}} {{{greaterloc}}} | {{!}}- }} | ||
{{#if: {{{inhabitants|}}} | {{!}}-style="background-color:#A0E898" | {{#if: {{{inhabitants|}}} | {{!}}-style="background-color:#A0E898" | ||
{{!}} '''Inhabitants''' | |||
{{!}} {{{inhabitants}}} | {{!}}- }} | {{!}} {{{inhabitants}}} | {{!}}- }} | ||
{{#if: {{{areas|}}} | {{!}}-style="background-color:#A0E898" | {{#if: {{{areas|}}} | {{!}}-style="background-color:#A0E898" | ||
{{!}} '''Unique area(s)''' | |||
{{!}} {{{areas}}} | {{!}}- }} | {{!}} {{{areas}}} | {{!}}- }} | ||
{{#if: {{{items|}}} | {{!}}-style="background-color:#A0E898" | {{#if: {{{items|}}} | {{!}}-style="background-color:#A0E898" | ||
{{!}} '''Unique item(s)''' | |||
{{!}} {{{items}}} | {{!}}- }} | {{!}} {{{items}}} | {{!}}- }} | ||
|}<noinclude> | |}<noinclude> | ||
==Usage== | |||
<pre> | <pre> | ||
{{Infobox Location | {{Infobox Location | ||
Line 43: | Line 42: | ||
}} | }} | ||
</pre> | </pre> | ||
[[Category:Infoboxes|Location]] | [[Category:Infoboxes|Location]] | ||
</noinclude> | </noinclude> |
Revision as of 23:05, October 14, 2020
Infobox Location | |
---|---|
Usage
{{Infobox Location |name= |image= |caption= |jname= |romaji= |games= |type= |greaterloc= |inhabitants= |areas= |items= }}