Difference between revisions of "Template:RowTemplate"
From A Wiki in the Desert
(Created page with "|- | {{{Has building}}} | {{{Count}}} x {{{Item}}}") |
m |
||
| Line 1: | Line 1: | ||
| + | <includeonly> | ||
| + | {| class="datatable" | ||
| + | ! Building | ||
| + | ! Items | ||
| + | {{#ask: [[Has building::+]] | ||
| + | |?Has building=Building | ||
| + | |?Item=Building Item | ||
| + | |?Count=Item Count | ||
| + | |group=Has building | ||
| + | |format=template | ||
| + | |template=RowTemplate | ||
| + | |link=none | ||
| + | }} | ||
| + | |} | ||
| + | |||
| + | <template name="RowTemplate"> | ||
|- | |- | ||
| {{{Has building}}} | | {{{Has building}}} | ||
| − | | {{{Count}}} x {{{ | + | | {{#arraymap: {{{Item|}}} | , | {{#arraymap: {{{Count|}}} | , | {{{1}}} x {{{2}}} }} | , }} |
| + | </template> | ||
| + | </includeonly> | ||