Template:Acretable T1: Difference between revisions

From Wikifang, a definitive guide to Telefang, Dino Device and Bugsite
Jump to navigation Jump to search
No edit summary
(toronkovillagewaterstation -> troncovillagespring to fix blank BG in example code + preview.)
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><table width="{{#expr:{{{w}}}*40}}" height="{{#expr:{{{h}}}*48}}" border="0" class="acretable {{{bg}}}">{{#if:{{{1|}}}|{{acretable T1/tablerow|{{{1|}}}}}{{#if:{{{2|}}}|{{acretable T1/tablerow|{{{2|}}}}}{{#if:{{{3|}}}|{{acretable T1/tablerow|{{{3|}}}}}{{#if:{{{4|}}}|{{acretable T1/tablerow|{{{4|}}}}}{{#if:{{{5|}}}|{{acretable T1/tablerow|{{{5|}}}}}{{#if:{{{6|}}}|{{acretable T1/tablerow|{{{6|}}}}}{{#if:{{{7|}}}|{{acretable T1/tablerow|{{{7|}}}}}{{#if:{{{8|}}}|{{acretable T1/tablerow|{{{8|}}}}}{{#if:{{{9|}}}|{{acretable T1/tablerow|{{{9|}}}}}{{#if:{{{10|}}}|{{acretable T1/tablerow|{{{10|}}}}}{{#if:{{{11|}}}|{{acretable T1/tablerow|{{{11|}}}}}{{#if:{{{12|}}}|{{acretable T1/tablerow|{{{12|}}}}}{{#if:{{{13|}}}|{{acretable T1/tablerow|{{{13|}}}}}{{#if:{{{14|}}}|{{acretable T1/tablerow|{{{14|}}}}}{{#if:{{{15|}}}|{{acretable T1/tablerow|{{{15|}}}}}{{#if:{{{16|}}}|{{acretable T1/tablerow|{{{16|}}}}}{{#if:{{{17|}}}|{{acretable T1/tablerow|{{{17|}}}}}{{#if:{{{18|}}}|{{acretable T1/tablerow|{{{18|}}}}}{{#if:{{{19|}}}|{{acretable T1/tablerow|{{{19|}}}}}{{#if:{{{20|}}}|{{acretable T1/tablerow|{{{20|}}}}}{{#if:{{{21|}}}|{{acretable T1/tablerow|{{{21|}}}}}{{#if:{{{22|}}}|{{acretable T1/tablerow|{{{22|}}}}}{{#if:{{{23|}}}|{{acretable T1/tablerow|{{{23|}}}}}{{#if:{{{24|}}}|{{acretable T1/tablerow|{{{24|}}}}}{{#if:{{{25|}}}|{{acretable T1/tablerow|{{{25|}}}}}{{#if:{{{26|}}}|{{acretable T1/tablerow|{{{26|}}}}}{{#if:{{{27|}}}|{{acretable T1/tablerow|{{{27|}}}}}{{#if:{{{28|}}}|{{acretable T1/tablerow|{{{28|}}}}}{{#if:{{{29|}}}|{{acretable T1/tablerow|{{{29|}}}}}{{#if:{{{30|}}}|{{acretable T1/tablerow|{{{30|}}}}}{{#if:{{{31|}}}|{{acretable T1/tablerow|{{{31|}}}}}{{#if:{{{32|}}}|{{acretable T1/tablerow|{{{32|}}}}}{{#if:{{{33|}}}|{{acretable T1/tablerow|{{{33|}}}}}{{#if:{{{34|}}}|{{acretable T1/tablerow|{{{34|}}}}}{{#if:{{{35|}}}|{{acretable T1/tablerow|{{{35|}}}}}{{#if:{{{36|}}}|{{acretable T1/tablerow|{{{36|}}}}}{{#if:{{{37|}}}|{{acretable T1/tablerow|{{{37|}}}}}{{#if:{{{38|}}}|{{acretable T1/tablerow|{{{38|}}}}}{{#if:{{{39|}}}|{{acretable T1/tablerow|{{{39|}}}}}{{#if:{{{40|}}}|{{acretable T1/tablerow|{{{40|}}}}}{{#if:{{{41|}}}|{{acretable T1/tablerow|{{{41|}}}}}{{#if:{{{42|}}}|{{acretable T1/tablerow|{{{42|}}}}}{{#if:{{{43|}}}|{{acretable T1/tablerow|{{{43|}}}}}{{#if:{{{44|}}}|{{acretable T1/tablerow|{{{44|}}}}}{{#if:{{{45|}}}|{{acretable T1/tablerow|{{{45|}}}}}{{#if:{{{46|}}}|{{acretable T1/tablerow|{{{46|}}}}}{{#if:{{{47|}}}|{{acretable T1/tablerow|{{{47|}}}}}{{#if:{{{48|}}}|{{acretable T1/tablerow|{{{48|}}}}}{{#if:{{{49|}}}|{{acretable T1/tablerow|{{{49|}}}}}{{#if:{{{50|}}}|{{acretable T1/tablerow|{{{50|}}}}}{{#if:{{{51|}}}|{{acretable T1/tablerow|{{{51|}}}}}{{#if:{{{52|}}}|{{acretable T1/tablerow|{{{52|}}}}}{{#if:{{{53|}}}|{{acretable T1/tablerow|{{{53|}}}}}{{#if:{{{54|}}}|{{acretable T1/tablerow|{{{54|}}}}}{{#if:{{{55|}}}|{{acretable T1/tablerow|{{{55|}}}}}{{#if:{{{56|}}}|{{acretable T1/tablerow|{{{56|}}}}}{{#if:{{{57|}}}|{{acretable T1/tablerow|{{{57|}}}}}{{#if:{{{58|}}}|{{acretable T1/tablerow|{{{58|}}}}}{{#if:{{{59|}}}|{{acretable T1/tablerow|{{{59|}}}}}{{#if:{{{60|}}}|{{acretable T1/tablerow|{{{60|}}}}}{{#if:{{{61|}}}|{{acretable T1/tablerow|{{{61|}}}}}{{#if:{{{62|}}}|{{acretable T1/tablerow|{{{62|}}}}}{{#if:{{{63|}}}|{{acretable T1/tablerow|{{{63|}}}}}{{#if:{{{64|}}}|{{acretable T1/tablerow|{{{64|}}}}}{{#if:{{{65|}}}|{{acretable T1/tablerow|{{{65|}}}}}{{#if:{{{66|}}}|{{acretable T1/tablerow|{{{66|}}}}}{{#if:{{{67|}}}|{{acretable T1/tablerow|{{{67|}}}}}{{#if:{{{68|}}}|{{acretable T1/tablerow|{{{68|}}}}}{{#if:{{{69|}}}|{{acretable T1/tablerow|{{{69|}}}}}{{#if:{{{70|}}}|{{acretable T1/tablerow|{{{70|}}}}}{{#if:{{{71|}}}|{{acretable T1/tablerow|{{{71|}}}}}{{#if:{{{72|}}}|{{acretable T1/tablerow|{{{72|}}}}}{{#if:{{{73|}}}|{{acretable T1/tablerow|{{{73|}}}}}{{#if:{{{74|}}}|{{acretable T1/tablerow|{{{74|}}}}}{{#if:{{{75|}}}|{{acretable T1/tablerow|{{{75|}}}}}{{#if:{{{76|}}}|{{acretable T1/tablerow|{{{76|}}}}}{{#if:{{{77|}}}|{{acretable T1/tablerow|{{{77|}}}}}{{#if:{{{78|}}}|{{acretable T1/tablerow|{{{78|}}}}}{{#if:{{{79|}}}|{{acretable T1/tablerow|{{{79|}}}}}{{#if:{{{80|}}}|{{acretable T1/tablerow|{{{80|}}}}}{{#if:{{{81|}}}|{{acretable T1/tablerow|{{{81|}}}}}{{#if:{{{82|}}}|{{acretable T1/tablerow|{{{82|}}}}}{{#if:{{{83|}}}|{{acretable T1/tablerow|{{{83|}}}}}{{#if:{{{84|}}}|{{acretable T1/tablerow|{{{84|}}}}}{{#if:{{{85|}}}|{{acretable T1/tablerow|{{{85|}}}}}{{#if:{{{86|}}}|{{acretable T1/tablerow|{{{86|}}}}}{{#if:{{{87|}}}|{{acretable T1/tablerow|{{{87|}}}}}{{#if:{{{88|}}}|{{acretable T1/tablerow|{{{88|}}}}}{{#if:{{{89|}}}|{{acretable T1/tablerow|{{{89|}}}}}{{#if:{{{90|}}}|{{acretable T1/tablerow|{{{90|}}}}}{{#if:{{{91|}}}|{{acretable T1/tablerow|{{{91|}}}}}{{#if:{{{92|}}}|{{acretable T1/tablerow|{{{92|}}}}}{{#if:{{{93|}}}|{{acretable T1/tablerow|{{{93|}}}}}{{#if:{{{94|}}}|{{acretable T1/tablerow|{{{94|}}}}}{{#if:{{{95|}}}|{{acretable T1/tablerow|{{{95|}}}}}{{#if:{{{96|}}}|{{acretable T1/tablerow|{{{96|}}}}}{{#if:{{{97|}}}|{{acretable T1/tablerow|{{{97|}}}}}{{#if:{{{98|}}}|{{acretable T1/tablerow|{{{98|}}}}}{{#if:{{{99|}}}|{{acretable T1/tablerow|{{{99|}}}}}{{#if:{{{100|}}}|{{acretable T1/tablerow|{{{100|}}}}}}}<!--
<includeonly><div align="center"><table width="{{#expr:{{{w}}}*40}}" height="{{#expr:{{{h}}}*48}}" border="0" class="acretable {{{bg}}}">{{#if:{{{1|}}}|{{acretable T1/tablerow|{{{1|}}}}}}}{{#if:{{{2|}}}|{{acretable T1/tablerow|{{{2|}}}}}}}{{#if:{{{3|}}}|{{acretable T1/tablerow|{{{3|}}}}}}}{{#if:{{{4|}}}|{{acretable T1/tablerow|{{{4|}}}}}}}{{#if:{{{5|}}}|{{acretable T1/tablerow|{{{5|}}}}}}}{{#if:{{{6|}}}|{{acretable T1/tablerow|{{{6|}}}}}}}{{#if:{{{7|}}}|{{acretable T1/tablerow|{{{7|}}}}}}}{{#if:{{{8|}}}|{{acretable T1/tablerow|{{{8|}}}}}}}{{#if:{{{9|}}}|{{acretable T1/tablerow|{{{9|}}}}}}}{{#if:{{{10|}}}|{{acretable T1/tablerow|{{{10|}}}}}}}{{#if:{{{11|}}}|{{acretable T1/tablerow|{{{11|}}}}}}}{{#if:{{{12|}}}|{{acretable T1/tablerow|{{{12|}}}}}}}{{#if:{{{13|}}}|{{acretable T1/tablerow|{{{13|}}}}}}}{{#if:{{{14|}}}|{{acretable T1/tablerow|{{{14|}}}}}}}{{#if:{{{15|}}}|{{acretable T1/tablerow|{{{15|}}}}}}}{{#if:{{{16|}}}|{{acretable T1/tablerow|{{{16|}}}}}}}{{#if:{{{17|}}}|{{acretable T1/tablerow|{{{17|}}}}}}}{{#if:{{{18|}}}|{{acretable T1/tablerow|{{{18|}}}}}}}{{#if:{{{19|}}}|{{acretable T1/tablerow|{{{19|}}}}}}}{{#if:{{{20|}}}|{{acretable T1/tablerow|{{{20|}}}}}}}{{#if:{{{21|}}}|{{acretable T1/tablerow|{{{21|}}}}}}}{{#if:{{{22|}}}|{{acretable T1/tablerow|{{{22|}}}}}}}{{#if:{{{23|}}}|{{acretable T1/tablerow|{{{23|}}}}}}}{{#if:{{{24|}}}|{{acretable T1/tablerow|{{{24|}}}}}}}{{#if:{{{25|}}}|{{acretable T1/tablerow|{{{25|}}}}}}}{{#if:{{{26|}}}|{{acretable T1/tablerow|{{{26|}}}}}}}{{#if:{{{27|}}}|{{acretable T1/tablerow|{{{27|}}}}}}}{{#if:{{{28|}}}|{{acretable T1/tablerow|{{{28|}}}}}}}{{#if:{{{29|}}}|{{acretable T1/tablerow|{{{29|}}}}}}}{{#if:{{{30|}}}|{{acretable T1/tablerow|{{{30|}}}}}}}{{#if:{{{31|}}}|{{acretable T1/tablerow|{{{31|}}}}}}}{{#if:{{{32|}}}|{{acretable T1/tablerow|{{{32|}}}}}}}{{#if:{{{33|}}}|{{acretable T1/tablerow|{{{33|}}}}}}}{{#if:{{{34|}}}|{{acretable T1/tablerow|{{{34|}}}}}}}{{#if:{{{35|}}}|{{acretable T1/tablerow|{{{35|}}}}}}}{{#if:{{{36|}}}|{{acretable T1/tablerow|{{{36|}}}}}}}{{#if:{{{37|}}}|{{acretable T1/tablerow|{{{37|}}}}}}}{{#if:{{{38|}}}|{{acretable T1/tablerow|{{{38|}}}}}}}{{#if:{{{39|}}}|{{acretable T1/tablerow|{{{39|}}}}}}}{{#if:{{{40|}}}|{{acretable T1/tablerow|{{{40|}}}}}}}{{#if:{{{41|}}}|{{acretable T1/tablerow|{{{41|}}}}}}}{{#if:{{{42|}}}|{{acretable T1/tablerow|{{{42|}}}}}}}{{#if:{{{43|}}}|{{acretable T1/tablerow|{{{43|}}}}}}}{{#if:{{{44|}}}|{{acretable T1/tablerow|{{{44|}}}}}}}{{#if:{{{45|}}}|{{acretable T1/tablerow|{{{45|}}}}}}}{{#if:{{{46|}}}|{{acretable T1/tablerow|{{{46|}}}}}}}{{#if:{{{47|}}}|{{acretable T1/tablerow|{{{47|}}}}}}}{{#if:{{{48|}}}|{{acretable T1/tablerow|{{{48|}}}}}}}{{#if:{{{49|}}}|{{acretable T1/tablerow|{{{49|}}}}}}}{{#if:{{{50|}}}|{{acretable T1/tablerow|{{{50|}}}}}}}{{#if:{{{51|}}}|{{acretable T1/tablerow|{{{51|}}}}}}}{{#if:{{{52|}}}|{{acretable T1/tablerow|{{{52|}}}}}}}{{#if:{{{53|}}}|{{acretable T1/tablerow|{{{53|}}}}}}}{{#if:{{{54|}}}|{{acretable T1/tablerow|{{{54|}}}}}}}{{#if:{{{55|}}}|{{acretable T1/tablerow|{{{55|}}}}}}}{{#if:{{{56|}}}|{{acretable T1/tablerow|{{{56|}}}}}}}{{#if:{{{57|}}}|{{acretable T1/tablerow|{{{57|}}}}}}}{{#if:{{{58|}}}|{{acretable T1/tablerow|{{{58|}}}}}}}{{#if:{{{59|}}}|{{acretable T1/tablerow|{{{59|}}}}}}}{{#if:{{{60|}}}|{{acretable T1/tablerow|{{{60|}}}}}}}{{#if:{{{61|}}}|{{acretable T1/tablerow|{{{61|}}}}}}}{{#if:{{{62|}}}|{{acretable T1/tablerow|{{{62|}}}}}}}{{#if:{{{63|}}}|{{acretable T1/tablerow|{{{63|}}}}}}}{{#if:{{{64|}}}|{{acretable T1/tablerow|{{{64|}}}}}}}{{#if:{{{65|}}}|{{acretable T1/tablerow|{{{65|}}}}}}}{{#if:{{{66|}}}|{{acretable T1/tablerow|{{{66|}}}}}}}{{#if:{{{67|}}}|{{acretable T1/tablerow|{{{67|}}}}}}}{{#if:{{{68|}}}|{{acretable T1/tablerow|{{{68|}}}}}}}{{#if:{{{69|}}}|{{acretable T1/tablerow|{{{69|}}}}}}}{{#if:{{{70|}}}|{{acretable T1/tablerow|{{{70|}}}}}}}{{#if:{{{71|}}}|{{acretable T1/tablerow|{{{71|}}}}}}}{{#if:{{{72|}}}|{{acretable T1/tablerow|{{{72|}}}}}}}{{#if:{{{73|}}}|{{acretable T1/tablerow|{{{73|}}}}}}}{{#if:{{{74|}}}|{{acretable T1/tablerow|{{{74|}}}}}}}{{#if:{{{75|}}}|{{acretable T1/tablerow|{{{75|}}}}}}}{{#if:{{{76|}}}|{{acretable T1/tablerow|{{{76|}}}}}}}{{#if:{{{77|}}}|{{acretable T1/tablerow|{{{77|}}}}}}}{{#if:{{{78|}}}|{{acretable T1/tablerow|{{{78|}}}}}}}{{#if:{{{79|}}}|{{acretable T1/tablerow|{{{79|}}}}}}}{{#if:{{{80|}}}|{{acretable T1/tablerow|{{{80|}}}}}}}{{#if:{{{81|}}}|{{acretable T1/tablerow|{{{81|}}}}}}}{{#if:{{{82|}}}|{{acretable T1/tablerow|{{{82|}}}}}}}{{#if:{{{83|}}}|{{acretable T1/tablerow|{{{83|}}}}}}}{{#if:{{{84|}}}|{{acretable T1/tablerow|{{{84|}}}}}}}{{#if:{{{85|}}}|{{acretable T1/tablerow|{{{85|}}}}}}}{{#if:{{{86|}}}|{{acretable T1/tablerow|{{{86|}}}}}}}{{#if:{{{87|}}}|{{acretable T1/tablerow|{{{87|}}}}}}}{{#if:{{{88|}}}|{{acretable T1/tablerow|{{{88|}}}}}}}{{#if:{{{89|}}}|{{acretable T1/tablerow|{{{89|}}}}}}}{{#if:{{{90|}}}|{{acretable T1/tablerow|{{{90|}}}}}}}{{#if:{{{91|}}}|{{acretable T1/tablerow|{{{91|}}}}}}}{{#if:{{{92|}}}|{{acretable T1/tablerow|{{{92|}}}}}}}{{#if:{{{93|}}}|{{acretable T1/tablerow|{{{93|}}}}}}}{{#if:{{{94|}}}|{{acretable T1/tablerow|{{{94|}}}}}}}{{#if:{{{95|}}}|{{acretable T1/tablerow|{{{95|}}}}}}}{{#if:{{{96|}}}|{{acretable T1/tablerow|{{{96|}}}}}}}{{#if:{{{97|}}}|{{acretable T1/tablerow|{{{97|}}}}}}}{{#if:{{{98|}}}|{{acretable T1/tablerow|{{{98|}}}}}}}{{#if:{{{99|}}}|{{acretable T1/tablerow|{{{99|}}}}}}}{{#if:{{{100|}}}|{{acretable T1/tablerow|{{{100|}}}}}}}</table></div></includeonly><noinclude>
-->}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}</table></includeonly><!--
Makes a table to show Denjuu appearances like this:
{{acretable T1|w=3|h=6|bg=troncovillagespring
|rowstart
|2|2|0|row
|1|1|0|row
|1|1|1|row
|1|1|1|row
|2|1|0|row
|2|1|0|rowend
}}


{{#if:{{{1|}}}|{{/tablerow|{{{1|}}}}}}}
The code is as such:
<pre><nowiki>
{{acretable T1|w=3|h=6|bg=troncovillagespring
|rowstart
|2|2|0|row
|1|1|0|row
|1|1|1|row
|1|1|1|row
|2|1|0|row
|2|1|0|rowend
}}
</nowiki></pre>


-->
The format of the code is as follows:
*'''w''': Width - number of boxes horizontally.
*'''h''': Height - number of boxes vertically.
*'''bg''': Background - CSS class style, ask admin to insert the styles. These can be found in [[MediaWiki:Common.css]], under acretables.
 
The next row would be rowstart.
 
The following '''''h''''' rows of '''''w''''' columns would be the values for the acre group, plus one more column for ''"row"'' or ''"rowend"''.
 
In the above example, there are 6 rows of 4 columns, with the exception of the starting row and "rowstart". The first row contains values of 2, 2, 0. This means that according to the map, the top-left-most acre and the acre to the right of it contain Denjuu from Group 2, according to your own definition. The third column contains 0, meaning that it contains no Denjuu, or is an empty white space on the map. This would end with the next parameter being ''"row"''.
 
This would continue until the last row, where the last parameter, instead of being "row", would be ''"rowend"'' instead. This is important as it closes the table.
 
==See also==
* [[Help:Acretables]]
* {{t|Acretable T1 info}}
</noinclude>

Latest revision as of 10:03, 10 August 2018

Makes a table to show Denjuu appearances like this:

22 
11 
111
111
21 
21 

The code is as such:

{{acretable T1|w=3|h=6|bg=troncovillagespring
|rowstart
|2|2|0|row
|1|1|0|row
|1|1|1|row
|1|1|1|row
|2|1|0|row
|2|1|0|rowend
}}

The format of the code is as follows:

  • w: Width - number of boxes horizontally.
  • h: Height - number of boxes vertically.
  • bg: Background - CSS class style, ask admin to insert the styles. These can be found in MediaWiki:Common.css, under acretables.

The next row would be rowstart.

The following h rows of w columns would be the values for the acre group, plus one more column for "row" or "rowend".

In the above example, there are 6 rows of 4 columns, with the exception of the starting row and "rowstart". The first row contains values of 2, 2, 0. This means that according to the map, the top-left-most acre and the acre to the right of it contain Denjuu from Group 2, according to your own definition. The third column contains 0, meaning that it contains no Denjuu, or is an empty white space on the map. This would end with the next parameter being "row".

This would continue until the last row, where the last parameter, instead of being "row", would be "rowend" instead. This is important as it closes the table.

See also[edit]