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
(padding) |
(making it for one side) |
||
(12 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{| | {| class="infobox" style="width:300px" | ||
| | |- style="background:{{#if:{{{color|}}}|{{{{{color}}}darkcolor}}|{{{{{color|location}}}darkcolor}}}}" | ||
!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| | |||
{{!}}colspan="2" style="text-align:center; background:{{#if:{{{color|}}}|{{{{{color}}}color}}|{{{{{color|location}}}color}}}}"{{!}}{{{jname|}}}<br>{{#if:{{{romaji|}}}|''{{{romaji}}}''}} | |||
|- | |- | ||
{{#if: {{{games|}}} | {{!}}- | |||
{{!}}style="background:{{#if:{{{color|}}}|{{{{{color}}}color}}|{{{{{color|location}}}color}}}}"{{!}} '''Game appearance(s)''' | |||
{{#if: {{{ | |||
{{ | |||
{{!}} {{{games}}} | {{!}}- }} | {{!}} {{{games}}} | {{!}}- }} | ||
{{#if: {{{type|}}} | {{!}}-style="background | {{#if: {{{type|}}} | {{!}}- | ||
{{ | {{!}}style="background:{{#if:{{{color|}}}|{{{{{color}}}color}}|{{{{{color|location}}}color}}}}"{{!}} '''Type''' | ||
{{!}} {{{type}}} | {{!}}- }} | {{!}} {{{type}}} | {{!}}- }} | ||
{{#if: {{{greaterloc|}}} | {{!}}-style="background | {{#if: {{{greaterloc|}}} | {{!}}- | ||
{{ | {{!}}style="background:{{#if:{{{color|}}}|{{{{{color}}}color}}|{{{{{color|location}}}color}}}}"{{!}} '''Greater location''' | ||
{{!}} {{{greaterloc}}} | {{!}}- }} | {{!}} {{{greaterloc}}} | {{!}}- }} | ||
{{#if: {{{inhabitants|}}} | {{!}}-style="background | {{#if: {{{inhabitants|}}} | {{!}}- | ||
{{ | {{!}}style="background:{{#if:{{{color|}}}|{{{{{color}}}color}}|{{{{{color|location}}}color}}}}"{{!}} '''Inhabitants''' | ||
{{!}} {{{inhabitants}}} | {{!}}- }} | {{!}} {{{inhabitants}}} | {{!}}- }} | ||
{{#if: {{{areas|}}} | {{!}}-style="background | {{#if: {{{areas|}}} | {{!}}- | ||
{{ | {{!}}style="background:{{#if:{{{color|}}}|{{{{{color}}}color}}|{{{{{color|location}}}color}}}}"{{!}} '''Unique area(s)''' | ||
{{!}} {{{areas}}} | {{!}}- }} | {{!}} {{{areas}}} | {{!}}- }} | ||
{{#if: {{{items|}}} | {{!}}-style="background | {{#if: {{{items|}}} | {{!}}- | ||
{{ | {{!}}style="background:{{#if:{{{color|}}}|{{{{{color}}}color}}|{{{{{color|location}}}color}}}}"{{!}} '''Unique item(s)''' | ||
{{!}} {{{items}}} | {{!}}- }} | {{!}} {{{items}}} | {{!}}- }} | ||
|}<noinclude> | |}<noinclude> | ||
==Usage== | |||
<pre> | <pre> | ||
{{Location | {{Infobox Location | ||
|name= | |name= | ||
|image= | |image= | ||
Line 43: | Line 42: | ||
}} | }} | ||
</pre> | </pre> | ||
[[Category:Infoboxes| | [[Category:Infoboxes|Location]] | ||
</noinclude> | </noinclude> |
Latest revision as of 12:34, October 28, 2021
Infobox Location | |
---|---|
Usage[edit]
{{Infobox Location |name= |image= |caption= |jname= |romaji= |games= |type= |greaterloc= |inhabitants= |areas= |items= }}