Template:Information field/doc: Difference between revisions
Template page
More actions
No edit summary |
m syntaxhighlight lang="wikitext" |
||
| Line 49: | Line 49: | ||
|usage-notes=Allows to specify any additional description line - see [[#Examples|examples]] | |usage-notes=Allows to specify any additional description line - see [[#Examples|examples]] | ||
The following possible notations are <u>equivalent</u>:< | The following possible notations are <u>equivalent</u>:<syntaxhighlight lang="wikitext"> | ||
{{Information field|name=nnn|value=vvv}} | {{Information field|name=nnn|value=vvv}} | ||
{{Information field|Value=vvv|Name=nnn}} | {{Information field|Value=vvv|Name=nnn}} | ||
{{Information field|1=nnn|2=vvv}} | {{Information field|1=nnn|2=vvv}} | ||
{{Information field|nnn|vvv}} | {{Information field|nnn|vvv}} | ||
{{InFi|nnn|vvv}}</ | {{InFi|nnn|vvv}}</syntaxhighlight> | ||
<small>All possible combinations give 64 valid variations to specify it.</small> | <small>All possible combinations give 64 valid variations to specify it.</small> | ||
| Line 78: | Line 78: | ||
==Examples== | ==Examples== | ||
< | <syntaxhighlight lang="wikitext">{{Artwork | ||
|Artist = Artist name | |Artist = Artist name | ||
|Other fields 1 = {{Information field|Name=Field Name 1|Value=Field Value 1}} | |Other fields 1 = {{Information field|Name=Field Name 1|Value=Field Value 1}} | ||
| Line 87: | Line 87: | ||
|Source = source | |Source = source | ||
|Other fields = {{Information field|Name=Field Name 2|Value=Field Value 2}} | |Other fields = {{Information field|Name=Field Name 2|Value=Field Value 2}} | ||
}}</ | }}</syntaxhighlight> will produce | ||
{{Artwork | {{Artwork | ||
|Artist = Artist name | |Artist = Artist name | ||