Template:List to Icons Table

From TEHCC Wiki
Revision as of 10:04, 22 November 2018 by Tim (talk | contribs)
Jump to navigation Jump to search

This is a format template for the Template:Auto List to Icons. It is expected to be used in conjunction with a semantic query. The parameter userparam is part of the format 'template' and is used to specify the switch to 'row' when needed. Otherwise repeated calls can use the template to envoke the intro, outro, a header output. If using the header output, you can specify the additional 'header' parameter to give it the text to place in the header row.

It expects the following usage format.

{{List to Icons Table
 |userparam=
 |header=
}}

|header={{!}}-
colspan="3"|{{{header|}}}


{{#switch:{{{userparam|}}}
|intro={{{!}} border="1" class="wikitable"
{{!}}-
! Image Monkey
! Description
! Semantic property
{{!}}-
|outro={{!}}} Done!
|row={{!}}-
{{!}} booger[[{{{?image|}}}|center|50px]]
{{!}}{{{?description|}}}
{{!}}{{{?keyword|}}}
{{!}}-
}}

Edit the page to see the template text.