Vorlage:Os family: Unterschied zwischen den Versionen

Permanently protected template
ZIM HilfeWiki - das Wiki
 
K (Schützte „Vorlage:Os family“: Automatic protection of selected project pages ([Bearbeiten=Nur Administratoren erlauben] (unbeschränkt) [Verschieben=Nur Administratoren erlauben] (unbeschränkt)))
 
(Eine dazwischenliegende Version von einem anderen Benutzer wird nicht angezeigt)
Zeile 1: Zeile 1:
<includeonly><!-- this is an infobox commonly used on all os family structure pages --><!--
+
<includeonly>{{#invoke:Os family|main}}</includeonly><noinclude>
 
 
  for information on how to extend os-families or add a new os-family, please refer to the official documentation of this template on subsection #Maintenance
 
 
 
  1. declaration of internal variables
 
  ------------------------------------
 
-->{{#vardefine:family_name|{{#if:{{#pos:{{BASEPAGENAME}}|IOS}}|{{lcfirst:{{BASEPAGENAME}}}}|{{BASEPAGENAME}}<!--end of if-->}}<!--end of vardefine-->}}<!--
 
 
 
  2. parameter processing
 
  -----------------------
 
  2.1. image
 
-->{{#vardefine:family_image|{{#if:{{{image|}}}|{{#ifeq:{{#sub:{{{image}}}|0|1}}|[|{{{image}}}|[[Datei:{{{image}}}]]<!-- end of ifeq -->}}|[[Datei:Logo_{{BASEPAGENAME}}.png]]<!-- end of #if:{{{image|}}} else -->}}<!-- end of vardefine -->}}<!--
 
 
 
  2.2. developer
 
-->{{#vardefine:family_developer|{{{developer|}}}}}<!--
 
 
 
  3. call the infobox
 
  --------------------------------
 
 
 
-->{{Infobox
 
| title = {{#var:family_name}}
 
| image = {{#var:family_image|Logo_{{#var:familyname}}.png}}
 
| subheader = Entwickler: {{#var:family_developer|{{errortext|NONE SPECIFIED}}}}
 
| caption = {{#var:family_name}}
 
| header1 = Information
 
| label2 = Entwickler
 
| data2 = {{{developer|}}}
 
| label3 = Aktuelle Version
 
| data3 = {{#ask: [[is member of os family::{{#var:family_name}}]] |sort=was released in|order=desc|limit=1|searchlabel=}}
 
<!-- end of {{Infobox -->}}[[Category:Betriebssystemfamilien]]<!--
 
 
 
  4. start putting out some errorboxes, if applicable
 
  ---------------------------------------------------
 
 
 
--></includeonly><noinclude>
 
 
{{documentation}}
 
{{documentation}}
  
 
<!-- Add categories to the /doc subpage, not here! -->
 
<!-- Add categories to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>

Aktuelle Version vom 6. April 2023, 19:19 Uhr

Documentation icon Template documentation

Description[Quelltext bearbeiten]

Generates an infobox for an os family page. No sematics will be stored!

Parameters[Quelltext bearbeiten]

Generates an infobox for an os family page

Vorlagenparameter

ParameterBeschreibungTypStatus
Logoimage

The logo representing the os family best

Standard
Logo_PAGENAME.png
Dateivorgeschlagen
Developerdeveloper

The developer/publisher of this os family

Zeilevorgeschlagen

Usage[Quelltext bearbeiten]

{{os family
|image=
|developer=
}}

Variables[Quelltext bearbeiten]

The templates sets these variables to the described values:

family_name
name of os family, derived from PAGENAME
in case of any iOS string, has a trailing lower case
family_image
usable imageling with trailing file: and enclosing square brackets, no size though
family_developer
the developer/publisher of this os family

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.