Template:List to Icons Table: Difference between revisions

From TEHCC Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 32: Line 32:
! Description
! Description
! Semantic property
! Semantic property
|outro={{!}}}
|outro={{!}}}
|row={{!}}-
|row={{!}}-
Line 37: Line 38:
{{!}}{{{description|}}}
{{!}}{{{description|}}}
{{!}}{{{keyword|}}}
{{!}}{{{keyword|}}}
|header={{!}}-
|header={{!}}-
{{!}}colspan="3"{{!}}{{{header|}}}
{{!}}colspan="3"{{!}}{{{header|}}}
}}</includeonly>
}}</includeonly>

Revision as of 14:08, 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.