Sandbox: differenze tra le versioni

Da Tematiche di genere.
Vai alla navigazione Vai alla ricerca
Nessun oggetto della modifica
Nessun oggetto della modifica
Riga 1: Riga 1:
{{#arraydefine:b|orange, red, yellow, yellow}}
{{#arraydefine:b|orange, red, yellow, yellow}}
{{#arrayprint:b}}
{{#arrayprint:b}}
{{#arrayprint:b | }}
{{#arrayprint:b}}
Print - without delimiter
{{#arrayprint:b | }}
Print - using '‎<br />' (line-break) as delimiter
{{#arrayprint:b |<br/> }}
Pretty list output where the last two elements are chained with an ' and ' (or the local languages equivalent). Even though the delimiter parameter is empty, ', ' (or the languages equivalent) will be used since it wouldn't be pretty otherwise.
{{#arrayprint:b ||@ |@ |print=pretty }}
Embed wiki link to categories
{{#arrayprint:b |<br/> |@@@@ |[[:Category:@@@@|@@@@]] }}
Define a Semantic MediaWiki property value
{{#arrayprint:b |<br/> |@@@@ |[[prop1::@@@@]] }}
Embed parser function
{{#arrayprint:b |<br/> |@@@@ |length of @@@@:{{#len:@@@@}} }}
Embed template (with parameters)
{{#arrayprint:b|<br/>|@@@@|{{template|prop2|@@@@}} }}

Versione delle 23:22, 23 nov 2022

orange, red, yellow, yellow orangeredyellowyellow orange, red, yellow, yellow Print - without delimiter orangeredyellowyellow Print - using '‎
' (line-break) as delimiter orange
red
yellow
yellow Pretty list output where the last two elements are chained with an ' and ' (or the local languages equivalent). Even though the delimiter parameter is empty, ', ' (or the languages equivalent) will be used since it wouldn't be pretty otherwise. orange, red, yellow e yellow Embed wiki link to categories orange
red
yellow
yellow Define a Semantic MediaWiki property value orange
red
yellow
yellow Embed parser function length of orange:6
length of red:3
length of yellow:6
length of yellow:6 Embed template (with parameters) Template:Template
Template:Template
Template:Template
Template:Template