Template:Worldtable/row: Difference between revisions

From IdleOn MMO Wiki
mNo edit summary
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
   <includeonly>{{#if:{{{4|}}}|{{!}}-
   <includeonly>{{#if:{{{4|}}}|<!--
 
-->{{#cargo_store:_table=AreaData
  |Area={{{4}}}
  |World=
  |WorldImage=
  |ID=
  |x=
  |y=
  |Size=
  |color_text=
  |color_fill=
}}<!--
 
-->{{!}}-
  {{!}}{{{1}}}
  {{!}}{{{1}}}
  {{!}}<span id="{{{4}}}">{{{2}}}</span>
  {{!}}<span id="{{{4}}}">{{{2}}}</span>
  {{!}}{{#if:{{{3|}}}|{{{3}}}|}}|{{!}}-
  {{!}}{{#if:{{{3|}}}|{{{3}}}|}}|<!--
 
-->{{!}}-
  {{!}}{{{1}}}
  {{!}}{{{1}}}
  {{!}}{{{2}}}
  {{!}}{{{2}}}
Line 8: Line 24:
<pre>
<pre>
Usage:
Usage:
{{Worltable/row|<img>|<name>|<info>|<id in HTML (option)>}}
{{Worltable/row|<img>|<name>|<info>|<id in HTML (optional)>}}</pre>
If {{{4}}} given, add an id attribute to allow navigation to there.
If {{{4}}} given, add an id attribute to allow navigation to there, also add that to [[Special:CargoTables/AreaData|AreaData table]].
</pre>
[[category:Table templates]]
[[category:Table templates]]
</noinclude>
</noinclude>

Latest revision as of 09:15, 4 August 2024

Usage:
{{Worltable/row|<img>|<name>|<info>|<id in HTML (optional)>}}

If {{{4}}} given, add an id attribute to allow navigation to there, also add that to AreaData table.