Template:Infobox Watercourse: Difference between revisions

m Extend infobox
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 5: Line 5:
| image    = {{#if: {{{picture|}}}
| image    = {{#if: {{{picture|}}}
   | [[File:{{{picture}}}|300px|center|alt={{PAGENAME}}]]
   | [[File:{{{picture}}}|300px|center|alt={{PAGENAME}}]]
  | <!-- Optional: default image -->
}}
}}
| caption  = Picture of {{PAGENAME}}
| caption  = Picture of {{PAGENAME}}


| image2  = {{#if: {{{minimap|}}}
| image2  = {{#if: {{{x|}}}{{{z|}}}
   | [[File:{{{minimap}}}|200px|center|alt=Minimap of {{PAGENAME}}]]
   | {{Minimap
}}
      | x={{{x|0}}}
      | y={{{y|165}}}
      | z={{{z|0}}}
      | rotation={{{rotation|0}}}
      | width={{{minimap_width|300}}}
      | height={{{minimap_height|300}}}
    }}
}}{{#if:{{{type|}}}|{{#set: Type = {{{type}}} }}}}
| caption2 = Minimap View of {{PAGENAME}}
| caption2 = Minimap View of {{PAGENAME}}


| label1  = Length
| label1  = Length
| data1    = {{{length|}}}
| data1    = {{#if:{{{length|}}}|[[length::{{{length}}}]]}}
| label2  = Finished
| label2  = Finished
| data2    = {{{finished|}}}
| data2    = {{#if:{{{finished|}}}|[[finished::{{{finished}}}]]}}
| label3  = World
| label3  = World
| data3    = {{{world|}}}
| data3    = {{{world|}}}
}}
}}