Template:List to Icons Table: Difference between revisions

From TEHCC Wiki
Jump to navigation Jump to search
m (forgot the done. Still not sure why it needs the extra |-)
(wacky extra pipe-dash)
Line 42: Line 42:
|header={{!}}-
|header={{!}}-
colspan="3"|{{{header|}}}
colspan="3"|{{{header|}}}
{{!}}-
}}</includeonly>
}}</includeonly>

Revision as of 13:01, 22 November 2018

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={{!}}-
{{!}}[[{{{image|}}}|center|50px]]
{{!}}{{{description|}}}
{{!}}{{{keyword|}}}
}}

Edit the page to see the template text.