Template:List to Icons Table: Difference between revisions

From TEHCC Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 29: Line 29:
Edit the page to see the template text.
Edit the page to see the template text.
[[Category:Experimental]]
[[Category:Experimental]]
</noinclude><includeonly>{{{1|}}} x {{{2|}}} c {{{3|}}}</includeonly>
</noinclude><includeonly>{{{?image|}}} x {{{?description|}}} c {{{?keyword|}}}</includeonly>

Revision as of 08:55, 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={{!}}-
{{!}} booger[[{{{?image|}}}|center|50px]]
{{!}}{{{?description|}}}
{{!}}{{{?keyword|}}}
{{!}}-
}}

Edit the page to see the template text.