Template:TableRowTemplate: Difference between revisions

From IMAGE
Jump to navigation Jump to search
(Created page with "<noinclude> params: header : label of property prop : property to display </noinclude><includeonly> {{PropertyTestTemplate|prop={{{prop|}}}|page={{PAGENAME}}|0||<tr> <td...")
 
No edit summary
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
used in the PageWithTableTemplate style tables
fields are expressed as property values
params:
params:
header : label of property  
header : label of property  
prop : property to display
prop : property to display
</noinclude><includeonly>
</noinclude><includeonly>{{#ifeq:
{{PropertyTestTemplate|prop={{{prop|}}}|page={{PAGENAME}}|0||<tr>
{{#ask: [[{{PAGENAME}}]][[{{{prop|}}}::+]]|format= count }}|0||
    <td class="PageWidthTableFirstCell">'''{{{header|}}}:'''</td>
<tr><td class="PageWidthTableFirstCell">'''{{{header|}}}'''</td>
    <td class="PageWidthTableRemainderCell">{{#show:{{PAGENAME}}|? {{{prop|}}}</td></tr>}}
<td class="PageWidthTableRemainderCell">{{#show:{{PAGENAME}}|? {{{prop|}}} }}</td>
</tr>}}</includeonly>

Latest revision as of 12:39, 12 June 2017

used in the PageWithTableTemplate style tables fields are expressed as property values params: header : label of property prop : property to display