Template:TestThisTable: Difference between revisions

From HorizonXI Wiki
(Created page with "<noinclude> This is the "Book" template. {{#cargo_declare:_table=Books |Authors=List (,) of Page |Genres=List (,) of String |Year_of_publication=Date |Number_of_pages=Integer}} </noinclude> <includeonly> {{#cargo_store:_table=Books}} {| ! Author(s) | {{#arraymap:{{{Authors|}}}|,|x|{{#formredlink:form=Author|target=x}} }} |- ! Genre(s) | {{{Genres|}}} |- ! Year of publication | {{{Year_of_publication|}}} |- ! Number of pages | {{{Number_of_pages|}}} |} </includeonly>")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<noinclude>
<includeonly><onlyinclude>
This is the "Book" template.
<br>
{{#get_db_data:db = spawncount
| parameters={{{mob name|{{PAGENAMEE}}}}}
| data= mobcount=mobcount, zonename=zonename
}}<!--
-->{| class="wikitable"
! zonename !! mobcount{{#for_external_table:|<nowiki/>
{{!}}-
{{!}} {{{zonename}}} {{!}}{{!}} {{{mobcount}}}
}}
|}</onlyinclude></includeonly>


{{#cargo_declare:_table=Books
 
|Authors=List (,) of Page
==Usage==
|Genres=List (,) of String
Work in progress...
|Year_of_publication=Date
===Examples===
|Number_of_pages=Integer}}
<pre>{{TestThisTable|mob name=Seeker_Bats}}</pre>
</noinclude>
 
<includeonly>
{{TestThisTable|mob name=Seeker_Bats}}
{{#cargo_store:_table=Books}}
{|
! Author(s)
| {{#arraymap:{{{Authors|}}}|,|x|{{#formredlink:form=Author|target=x}} }}
|-
! Genre(s)
| {{{Genres|}}}
|-
! Year of publication
| {{{Year_of_publication|}}}
|-
! Number of pages
| {{{Number_of_pages|}}}
|}
</includeonly>

Latest revision as of 11:17, 29 February 2024


Usage

Work in progress...

Examples

{{TestThisTable|mob name=Seeker_Bats}}



zonename mobcount
Qufim_Island 13

Ranguemont_Pass 25

Korroloka_Tunnel 60

Lower_Delkfutts_Tower 27

Ordelles_Caves 19

Maze_of_Shakhrami 9