Difference between revisions of "Template:FieldByProperty"
Jump to navigation
Jump to search
Tim Holzheim (talk | contribs) |
Tim Holzheim (talk | contribs) |
||
(12 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
{{FieldByProperty|Property:Acronym}} | {{FieldByProperty|Property:Acronym}} | ||
+ | {{FieldByProperty|Property:Logo}} | ||
</noinclude> | </noinclude> | ||
<includeonly><nowiki>{{{field</nowiki> | <includeonly><nowiki>{{{field</nowiki> | ||
− | <nowiki>|</nowiki>{{#show: {{{1|}}}|?Property | + | <nowiki>|</nowiki>{{#show: {{{1|}}}|?Property name}} |
<nowiki>|</nowiki>input type={{#show: {{{1|}}}|?Property inputType}}<nowiki> | <nowiki>|</nowiki>input type={{#show: {{{1|}}}|?Property inputType}}<nowiki> | ||
</nowiki>{{#if:{{#show: {{{1|}}}|?Property placeholder}}|<nowiki>|</nowiki>placeholder={{#show: {{{1|}}}|?Property placeholder|link=none}} }}<nowiki> | </nowiki>{{#if:{{#show: {{{1|}}}|?Property placeholder}}|<nowiki>|</nowiki>placeholder={{#show: {{{1|}}}|?Property placeholder|link=none}} }}<nowiki> | ||
Line 10: | Line 11: | ||
</nowiki>{{#if:{{#show: {{{1|}}}|?Property values from }} |<nowiki>|</nowiki>values from {{#show: {{{1|}}}|?Property values from|link=none}} }}<nowiki> | </nowiki>{{#if:{{#show: {{{1|}}}|?Property values from }} |<nowiki>|</nowiki>values from {{#show: {{{1|}}}|?Property values from|link=none}} }}<nowiki> | ||
</nowiki>{{#ifeq:{{#show: {{{1|}}}|?Property mandatory}}|true|<nowiki>|</nowiki>mandatory}}<nowiki> | </nowiki>{{#ifeq:{{#show: {{{1|}}}|?Property mandatory}}|true|<nowiki>|</nowiki>mandatory}}<nowiki> | ||
+ | </nowiki>{{#ifeq:{{#show: {{{1|}}}|?Property uploadable}}|true|<nowiki>|</nowiki>uploadable <nowiki>|</nowiki>image preview <nowiki>|</nowiki>default filename=Image for <page name>.jpeg }}<nowiki> | ||
</nowiki>{{#ifeq:{{#show: {{{1|}}}|?Property primaryKey }}|true|<nowiki>|</nowiki>unique}}<nowiki> | </nowiki>{{#ifeq:{{#show: {{{1|}}}|?Property primaryKey }}|true|<nowiki>|</nowiki>unique}}<nowiki> | ||
</nowiki> | </nowiki> | ||
<nowiki>}}}</nowiki></includeonly> | <nowiki>}}}</nowiki></includeonly> |
Latest revision as of 21:16, 21 March 2021
{{{field
|Acronym
|input type=text
|placeholder=E.g. 3DUI
|mandatory
|unique
}}}
{{{field |Logo |input type=text |values from namespace=File |uploadable |image preview |default filename=Image for <page name>.jpeg }}}