Template:GlossaryEntry

From BITPlan Wiki
Jump to navigation Jump to search

This is the template GlossaryEntry. It belongs to the concept/topic Concept:GlossaryEntry
You may find examples for the use of this template via the List of GlossaryEntries.

Usage

storemode subobject

{{GlossaryEntry
|responsible=
|state=
|since=
|description=
|references=
|lang=
|master=
|storemode=subobject
}}

storemode property

{{GlossaryEntry
|responsible=
|state=
|since=
|description=
|references=
|lang=
|master=
|storemode=property
}}

storemode none

{{GlossaryEntry
|responsible=
|state=
|since=
|description=
|references=
|lang=
|master=
|storemode=none
}}


viewmode tableheader

{{GlossaryEntry
|responsible=
|state=
|since=
|description=
|references=
|lang=
|master=
|viewmode=tableheader
}}

viewmode tablerow

{{GlossaryEntry
|responsible=
|state=
|since=
|description=
|references=
|lang=
|master=
|viewmode=tablerow
}}

viewmode tablefooter

{{GlossaryEntry
|responsible=
|state=
|since=
|description=
|references=
|lang=
|master=
|viewmode=tablefooter
}}

viewmode labelfield

{{GlossaryEntry
|responsible=
|state=
|since=
|description=
|references=
|lang=
|master=
|viewmode=labelfield
}}

Source (pretty printed)

{{#switch:{{{userparam|}}}|sidif={{#if:{{{?pageid|}}}|{{#replace:{{#replace:{{{?pageid}}}|#|}}|-|_}} isA GlossaryEntry<br>|}}
{{#if:{{{?responsible|}}}|"{{{?responsible}}}" is responsible of it <br>|}}
{{#if:{{{?state|}}}|"{{{?state}}}" is state of it <br>|}}
{{#if:{{{?since|}}}|"{{{?since}}}" is since of it <br>|}}
{{#if:{{{?description|}}}|"{{{?description}}}" is description of it <br>|}}
{{#if:{{{?references|}}}|"{{{?references}}}" is references of it <br>|}}
{{#if:{{{?lang|}}}|"{{{?lang}}}" is lang of it <br>|}}
{{#if:{{{?master|}}}|"{{{?master}}}" is master of it <br>|}}
|#default={{#switch:{{{storemode|}}}
|none=
|subobject={{#subobject:-
|isA=GlossaryEntry
|GlossaryEntry responsible={{{responsible|}}}
|GlossaryEntry state={{{state|}}}
|GlossaryEntry since={{{since|}}}
|GlossaryEntry description={{{description|}}}
|GlossaryEntry references={{{references|}}}
|GlossaryEntry lang={{{lang|}}}
|GlossaryEntry master={{{master|}}}
}}
|#default={{#set:
|isA=GlossaryEntry
|GlossaryEntry responsible={{{responsible|}}}
|GlossaryEntry state={{{state|}}}
|GlossaryEntry since={{{since|}}}
|GlossaryEntry description={{{description|}}}
|GlossaryEntry references={{{references|}}}
|GlossaryEntry lang={{{lang|}}}
|GlossaryEntry master={{{master|}}}
}}
}}
{{#switch: {{{viewmode|}}}
|hidden=
|masterdetail=
|tableheader={{{!}} class='wikitable'
!responsible!!state!!since!!description!!references!!lang!!master
{{!}}-
|tablerow=
{{!}}{{{responsible|}}}{{!}}{{!}}{{{state|}}}{{!}}{{!}}{{{since|}}}{{!}}{{!}}{{{description|}}}{{!}}{{!}}{{{references|}}}{{!}}{{!}}{{{lang|}}}{{!}}{{!}}{{{master|}}}
{{!}}-
|tablefooter={{!}}}
|labelfield=
responsible={{#if:{{{responsible|}}}|{{{responsible|}}}|}}<br>state={{#if:{{{state|}}}|{{{state|}}}|}}<br>since={{#if:{{{since|}}}|{{{since|}}}|}}<br>description={{#if:{{{description|}}}|{{{description|}}}|}}<br>references={{#if:{{{references|}}}|{{{references|}}}|}}<br>lang={{#if:{{{lang|}}}|{{{lang|}}}|}}<br>master={{#if:{{{master|}}}|{{{master|}}}|}}<br>|#default={{{!}} class='wikitable'
! colspan='2' {{!}}GlossaryEntry
{{!}}-
{{#switch:{{{storemode|}}}|property=
! colspan='2' style='text-align:left' {{!}} {{Icon|name=edit|size=24}}{{Link|target=Special:FormEdit/GlossaryEntry/{{FULLPAGENAME}}|title=edit}}
{{!}}-
}}
!responsible
{{!}}&nbsp;{{#if:{{{responsible|}}}|{{{responsible|}}}|}}
{{!}}-
!state
{{!}}&nbsp;{{#if:{{{state|}}}|{{{state|}}}|}}
{{!}}-
!since
{{!}}&nbsp;{{#if:{{{since|}}}|{{{since|}}}|}}
{{!}}-
!description
{{!}}&nbsp;{{#if:{{{description|}}}|{{{description|}}}|}}
{{!}}-
!references
{{!}}&nbsp;{{#if:{{{references|}}}|{{{references|}}}|}}
{{!}}-
!lang
{{!}}&nbsp;{{#if:{{{lang|}}}|{{{lang|}}}|}}
{{!}}-
!master
{{!}}&nbsp;{{#if:{{{master|}}}|{{{master|}}}|}}
{{!}}-
{{!}}}
}}
}}
[[Category:GlossaryEntry]]{{#default_form:GlossaryEntry}}

Source

Click on "Edit" to edit the noinclude-part Source of this Template.