Template:DisplayAttributeTemplate: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 6: | Line 6: | ||
</pre> | </pre> | ||
</noinclude><includeonly><!-- | </noinclude><includeonly><!-- | ||
-->{{#ifeq:{{{format|}}}|matrix | -->{{#ifeq:{{{format|}}}|matrix<!-- | ||
|{{#ask:[[IsAttributeOfModel::{{{model|}}}]][[HasAttributeLabel::{{{attribute|}}}]] | -->|{{#ask:[[IsAttributeOfModel::{{{model|}}}]][[HasAttributeLabel::{{{attribute|}}}]] | ||
| mainlabel=- | | mainlabel=- | ||
|? HasAttributeLabel=title | |? HasAttributeLabel=title | ||
| Line 20: | Line 20: | ||
|named args=yes | |named args=yes | ||
|sep=; | |sep=; | ||
}} | }}<!-- | ||
|{{#ask:[[IsAttributeOfModel::{{{model|}}}]][[HasAttributeLabel::{{{attribute|}}}]] | -->|{{#ask:[[IsAttributeOfModel::{{{model|}}}]][[HasAttributeLabel::{{{attribute|}}}]] | ||
| mainlabel=- | | mainlabel=- | ||
|? HasAttributeLabel=title | |? HasAttributeLabel=title | ||
| Line 34: | Line 34: | ||
|named args=yes | |named args=yes | ||
|sep=; | |sep=; | ||
}} | }}<!-- | ||
}} | -->}}</includeonly> | ||
</includeonly> | |||
Revision as of 09:24, 31 August 2016
parameters: 1) model: 2} attribute 3) format optional if matrix then the matrixtemplate