Template:TableRowTemplate: Difference between revisions
Jump to navigation
Jump to search
Oostenrijr (talk | contribs) No edit summary |
Oostenrijr (talk | contribs) No edit summary |
||
Line 5: | Line 5: | ||
header : label of property | header : label of property | ||
prop : property to display | prop : property to display | ||
</noinclude><includeonly>{{#ifeq: {{#ask: [[{{PAGENAME}}]][[{{{prop|}}}::+]]|format= count }}|0| | </noinclude><includeonly>{{#ifeq: | ||
|<tr><td class="PageWidthTableFirstCell">'''{{{header|}}}'''</td> | {{#ask: [[{{PAGENAME}}]][[{{{prop|}}}::+]]|format= count }}|0||<tr><td class="PageWidthTableFirstCell">'''{{{header|}}}'''</td> | ||
<td class="PageWidthTableRemainderCell">{{#show:{{PAGENAME}}|? {{{prop|}}} }}</td></tr>}}</includeonly> | <td class="PageWidthTableRemainderCell">{{#show:{{PAGENAME}}|? {{{prop|}}} }}</td></tr>}}</includeonly> |
Revision as of 13:38, 12 June 2017
used in the PageWithTableTemplate style tables fields are expressed as property values params: header : label of property prop : property to display