« Modèle:Server » : différence entre les versions
De Semantic MediaWiki - Sandbox
(chg) |
(chg) |
||
Ligne 1 : | Ligne 1 : | ||
<includeonly> | <noinclude> | ||
This template demonstates the usage of the [[semantic-wm:Help:Argument declaration in templates|"declare" parser function.]] | |||
Content of the template: | |||
<pre> | |||
== Server == | |||
'''Name:''' {{{Name|{{PAGENAME}}}}}<br> | |||
'''Identifier:''' {{{ID|}}}<br> | |||
'''IP-Address:''' {{{IP|}}}<br> | |||
'''State:''' {{{State|}}} | |||
{{#declare: | |||
Has name=Name | |||
|Has ID=ID | |||
|Has IP=IP | |||
|Has state=State | |||
}} | |||
</pre> | |||
[[Category:Declare examples]] | |||
</noinclude><includeonly> | |||
== Server == | == Server == | ||
'''Name:''' {{{Name|{{PAGENAME}}}}}<br> | '''Name:''' {{{Name|{{PAGENAME}}}}}<br> |
Version du 18 octobre 2019 à 22:26
This template demonstates the usage of the "declare" parser function.
Content of the template:
== Server == '''Name:''' {{{Name|{{PAGENAME}}}}}<br> '''Identifier:''' {{{ID|}}}<br> '''IP-Address:''' {{{IP|}}}<br> '''State:''' {{{State|}}} {{#declare: Has name=Name |Has ID=ID |Has IP=IP |Has state=State }}