Vorlage:Icons user/doc: Unterschied zwischen den Versionen

ZIM HilfeWiki - das Wiki
 
 
Zeile 24: Zeile 24:
  
 
== Usage ==
 
== Usage ==
{{code|lang=bibtex|code=<nowiki>
+
<pre>
 
{{Icons user|string|pagelink}}
 
{{Icons user|string|pagelink}}
</nowiki>}}
+
</pre>
  
 
== Variables ==
 
== Variables ==
Zeile 37: Zeile 37:
 
* {{tl|Icons}}
 
* {{tl|Icons}}
  
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
+
[[Category:Hilfewiki templates]]<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
 
{{#ifeq:{{SUBPAGENAME}}|sandbox | |
 
{{#ifeq:{{SUBPAGENAME}}|sandbox | |
 
<!-- ADD CATEGORIES AFTER THIS LINE -->
 
<!-- ADD CATEGORIES AFTER THIS LINE -->
[[Category:Hilfewiki templates]][[Category:Utility templates]][[Category:Query templates]]
+
[[Category:Utility templates]][[Category:Query templates]]
 
}}
 
}}
 
}}</includeonly>
 
}}</includeonly>

Aktuelle Version vom 30. September 2016, 10:47 Uhr

Description[Quelltext bearbeiten]

Expects a comma-separated string depicting targetgroup(s). if this lists contains only and exact a given set of tgs, no output will be generated, otherwhise printout as usual

Parameters[Quelltext bearbeiten]

Prints icons depicting the prvided user groups

Vorlagenparameter

ParameterBeschreibungTypStatus
Targetgroup(s)1

Converts targetgroupnames in the the corresponding icons. reads single name and comma seperated values.

Zeileerforderlich
Link to service2

Link to the service (including square brackets), processed in this row

Zeilevorgeschlagen

Usage[Quelltext bearbeiten]

{{Icons user|string|pagelink}}

Variables[Quelltext bearbeiten]

The templates sets these variables to the described values:

iu_tgs
array
ordered list of targetgroupnames

See also[Quelltext bearbeiten]

Cookies helfen uns bei der Bereitstellung des ZIM HilfeWikis. Bei der Nutzung vom ZIM HilfeWiki werden die in der Datenschutzerklärung beschriebenen Cookies gespeichert.