Difference between revisions of "Template:OsProject"

From BITPlan Wiki
Jump to navigation Jump to search
m (created by WikiTask 2022-01-24T07:09:02Z)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
=Usage =
+
<!--
=Example=
+
  -- Copyright (C) 2015-2018 BITPlan GmbH
 +
  --
 +
  -- Pater-Delp-Str. -- 1
 +
  -- D-47877 -- Willich-Schiefbahn
 +
  --
 +
  -- http://www.bitplan.com
 +
  --
 +
  --
 +
-->
 +
This is the template {{Link|target=Template:OsProject|title=OsProject}}.
 +
It belongs to the concept/topic {{Link|target=:Concept:OsProject}}<br>
 +
You may find examples for the use of this template via the {{Link|target=List of OsProjects}}.
 +
=== Usage ===
 +
==== storemode subobject ====
 +
<pre>{{OsProject
 +
|id=
 +
|state=
 +
|owner=
 +
|title=
 +
|url=
 +
|version=
 +
|description=
 +
|date=
 +
|since=
 +
|until=
 +
|storemode=subobject
 +
}}
 +
</pre>
 +
 
 +
==== storemode property ====
 +
<pre>{{OsProject
 +
|id=
 +
|state=
 +
|owner=
 +
|title=
 +
|url=
 +
|version=
 +
|description=
 +
|date=
 +
|since=
 +
|until=
 +
|storemode=property
 +
}}
 +
</pre>
 +
 
 +
==== storemode none ====
 +
<pre>{{OsProject
 +
|id=
 +
|state=
 +
|owner=
 +
|title=
 +
|url=
 +
|version=
 +
|description=
 +
|date=
 +
|since=
 +
|until=
 +
|storemode=none
 +
}}
 +
</pre>
 +
 
 +
 
 +
==== viewmode tableheader ====
 +
<pre>{{OsProject
 +
|id=
 +
|state=
 +
|owner=
 +
|title=
 +
|url=
 +
|version=
 +
|description=
 +
|date=
 +
|since=
 +
|until=
 +
|viewmode=tableheader
 +
}}
 +
</pre>
 +
 
 +
==== viewmode tablerow ====
 +
<pre>{{OsProject
 +
|id=
 +
|state=
 +
|owner=
 +
|title=
 +
|url=
 +
|version=
 +
|description=
 +
|date=
 +
|since=
 +
|until=
 +
|viewmode=tablerow
 +
}}
 +
</pre>
 +
 
 +
==== viewmode tablefooter ====
 +
<pre>{{OsProject
 +
|id=
 +
|state=
 +
|owner=
 +
|title=
 +
|url=
 +
|version=
 +
|description=
 +
|date=
 +
|since=
 +
|until=
 +
|viewmode=tablefooter
 +
}}
 +
</pre>
 +
 
 +
==== viewmode labelfield ====
 +
<pre>{{OsProject
 +
|id=
 +
|state=
 +
|owner=
 +
|title=
 +
|url=
 +
|version=
 +
|description=
 +
|date=
 +
|since=
 +
|until=
 +
|viewmode=labelfield
 +
}}
 +
</pre>
 +
 
 +
=== Source (pretty printed) ===
 +
<source lang='html4strict'>
 +
{{#switch:{{{userparam|}}}|sidif={{#if:{{{?pageid|}}}|{{#replace:{{#replace:{{{?pageid}}}|#|}}|-|_}} isA OsProject<br>|}}
 +
{{#if:{{{?id|}}}|"{{{?id}}}" is id of it <br>|}}
 +
{{#if:{{{?state|}}}|"{{{?state}}}" is state of it <br>|}}
 +
{{#if:{{{?owner|}}}|"{{{?owner}}}" is owner of it <br>|}}
 +
{{#if:{{{?title|}}}|"{{{?title}}}" is title of it <br>|}}
 +
{{#if:{{{?url|}}}|"{{{?url}}}" is url of it <br>|}}
 +
{{#if:{{{?version|}}}|"{{{?version}}}" is version of it <br>|}}
 +
{{#if:{{{?description|}}}|"{{{?description}}}" is description of it <br>|}}
 +
{{#if:{{{?date|}}}|"{{{?date}}}" is date of it <br>|}}
 +
{{#if:{{{?since|}}}|"{{{?since}}}" is since of it <br>|}}
 +
{{#if:{{{?until|}}}|"{{{?until}}}" is until of it <br>|}}
 +
|#default={{#switch:{{{storemode|}}}
 +
|none=
 +
|subobject={{#subobject:-
 +
|isA=OsProject
 +
|OsProject id={{{id|}}}
 +
|OsProject state={{{state|}}}
 +
|OsProject owner={{{owner|}}}
 +
|OsProject title={{{title|}}}
 +
|OsProject url={{{url|}}}
 +
|OsProject version={{{version|}}}
 +
|OsProject description={{{description|}}}
 +
|OsProject date={{{date|}}}
 +
|OsProject since={{{since|}}}
 +
|OsProject until={{{until|}}}
 +
}}
 +
|#default={{#set:
 +
|isA=OsProject
 +
|OsProject id={{{id|}}}
 +
|OsProject state={{{state|}}}
 +
|OsProject owner={{{owner|}}}
 +
|OsProject title={{{title|}}}
 +
|OsProject url={{{url|}}}
 +
|OsProject version={{{version|}}}
 +
|OsProject description={{{description|}}}
 +
|OsProject date={{{date|}}}
 +
|OsProject since={{{since|}}}
 +
|OsProject until={{{until|}}}
 +
}}
 +
}}
 +
{{#switch: {{{viewmode|}}}
 +
|hidden=
 +
|masterdetail=
 +
= tickets =
 +
{{#ask:[[Concept:Ticket]][[Ticket project::{{FULLPAGENAME}}]]
 +
| ?Ticket no = no
 +
| ?Ticket title = title
 +
| ?Ticket project = project
 +
 
 +
 
 +
 
 +
}}
 +
|tableheader={{{!}} class='wikitable'
 +
!id!!state!!owner!!title!!url!!version!!description!!date!!since!!until
 +
{{!}}-
 +
|tablerow=
 +
{{!}}{{{id|}}}{{!}}{{!}}{{{state|}}}{{!}}{{!}}{{{owner|}}}{{!}}{{!}}{{{title|}}}{{!}}{{!}}{{{url|}}}{{!}}{{!}}{{{version|}}}{{!}}{{!}}{{{description|}}}{{!}}{{!}}{{{date|}}}{{!}}{{!}}{{{since|}}}{{!}}{{!}}{{{until|}}}
 +
{{!}}-
 +
|tablefooter={{!}}}
 +
|labelfield=
 +
id={{#if:{{{id|}}}|{{{id|}}}|}}<br>state={{#if:{{{state|}}}|{{{state|}}}|}}<br>owner={{#if:{{{owner|}}}|{{{owner|}}}|}}<br>title={{#if:{{{title|}}}|{{{title|}}}|}}<br>url={{#if:{{{url|}}}|{{{url|}}}|}}<br>version={{#if:{{{version|}}}|{{{version|}}}|}}<br>description={{#if:{{{description|}}}|{{{description|}}}|}}<br>date={{#if:{{{date|}}}|{{{date|}}}|}}<br>since={{#if:{{{since|}}}|{{{since|}}}|}}<br>until={{#if:{{{until|}}}|{{{until|}}}|}}<br>|#default={{{!}} class='wikitable'
 +
! colspan='2' {{!}}OsProject
 +
{{!}}-
 +
{{#switch:{{{storemode|}}}|property=
 +
! colspan='2' style='text-align:left' {{!}} {{Icon|name=edit|size=24}}{{Link|target=Special:FormEdit/OsProject/{{FULLPAGENAME}}|title=edit}}
 +
{{!}}-
 +
}}
 +
!id
 +
{{!}}&nbsp;{{#if:{{{id|}}}|{{{id|}}}|}}
 +
{{!}}-
 +
!state
 +
{{!}}&nbsp;{{#if:{{{state|}}}|{{{state|}}}|}}
 +
{{!}}-
 +
!owner
 +
{{!}}&nbsp;{{#if:{{{owner|}}}|{{{owner|}}}|}}
 +
{{!}}-
 +
!title
 +
{{!}}&nbsp;{{#if:{{{title|}}}|{{{title|}}}|}}
 +
{{!}}-
 +
!url
 +
{{!}}&nbsp;{{#if:{{{url|}}}|{{{url|}}}|}}
 +
{{!}}-
 +
!version
 +
{{!}}&nbsp;{{#if:{{{version|}}}|{{{version|}}}|}}
 +
{{!}}-
 +
!description
 +
{{!}}&nbsp;{{#if:{{{description|}}}|{{{description|}}}|}}
 +
{{!}}-
 +
!date
 +
{{!}}&nbsp;{{#if:{{{date|}}}|{{{date|}}}|}}
 +
{{!}}-
 +
!since
 +
{{!}}&nbsp;{{#if:{{{since|}}}|{{{since|}}}|}}
 +
{{!}}-
 +
!until
 +
{{!}}&nbsp;{{#if:{{{until|}}}|{{{until|}}}|}}
 +
{{!}}-
 +
{{!}}}
 +
}}
 +
}}
 +
[[Category:OsProject]]{{#default_form:OsProject}}
 +
</source>
 +
=== Source ===
 +
Click on "Edit" to edit the noinclude-part Source of this Template.
 
[[Category:Template]]
 
[[Category:Template]]
</noinclude><includeonly>{{{title|}}}[[Category:Open Source]]</includeonly>
+
 
 +
</noinclude><includeonly>{{#switch:{{{userparam|}}}|sidif={{#if:{{{?pageid|}}}|{{#replace:{{#replace:{{{?pageid}}}|#|}}|-|_}} isA OsProject<br>|}}
 +
{{#if:{{{?id|}}}|"{{{?id}}}" is id of it <br>|}}
 +
{{#if:{{{?state|}}}|"{{{?state}}}" is state of it <br>|}}
 +
{{#if:{{{?owner|}}}|"{{{?owner}}}" is owner of it <br>|}}
 +
{{#if:{{{?title|}}}|"{{{?title}}}" is title of it <br>|}}
 +
{{#if:{{{?url|}}}|"{{{?url}}}" is url of it <br>|}}
 +
{{#if:{{{?version|}}}|"{{{?version}}}" is version of it <br>|}}
 +
{{#if:{{{?description|}}}|"{{{?description}}}" is description of it <br>|}}
 +
{{#if:{{{?date|}}}|"{{{?date}}}" is date of it <br>|}}
 +
{{#if:{{{?since|}}}|"{{{?since}}}" is since of it <br>|}}
 +
{{#if:{{{?until|}}}|"{{{?until}}}" is until of it <br>|}}
 +
|#default={{#switch:{{{storemode|}}}
 +
|none=
 +
|subobject={{#subobject:-
 +
|isA=OsProject
 +
|OsProject id={{{id|}}}
 +
|OsProject state={{{state|}}}
 +
|OsProject owner={{{owner|}}}
 +
|OsProject title={{{title|}}}
 +
|OsProject url={{{url|}}}
 +
|OsProject version={{{version|}}}
 +
|OsProject description={{{description|}}}
 +
|OsProject date={{{date|}}}
 +
|OsProject since={{{since|}}}
 +
|OsProject until={{{until|}}}
 +
}}
 +
|#default={{#set:
 +
|isA=OsProject
 +
|OsProject id={{{id|}}}
 +
|OsProject state={{{state|}}}
 +
|OsProject owner={{{owner|}}}
 +
|OsProject title={{{title|}}}
 +
|OsProject url={{{url|}}}
 +
|OsProject version={{{version|}}}
 +
|OsProject description={{{description|}}}
 +
|OsProject date={{{date|}}}
 +
|OsProject since={{{since|}}}
 +
|OsProject until={{{until|}}}
 +
}}
 +
}}
 +
{{#switch: {{{viewmode|}}}
 +
|hidden=
 +
|masterdetail=
 +
= tickets =
 +
{{#ask:[[Concept:Ticket]][[Ticket project::{{FULLPAGENAME}}]]
 +
| ?Ticket no = no
 +
| ?Ticket title = title
 +
| ?Ticket project = project
 +
 
 +
 
 +
 
 +
}}
 +
|tableheader={{{!}} class='wikitable'
 +
!id!!state!!owner!!title!!url!!version!!description!!date!!since!!until
 +
{{!}}-
 +
|tablerow=
 +
{{!}}{{{id|}}}{{!}}{{!}}{{{state|}}}{{!}}{{!}}{{{owner|}}}{{!}}{{!}}{{{title|}}}{{!}}{{!}}{{{url|}}}{{!}}{{!}}{{{version|}}}{{!}}{{!}}{{{description|}}}{{!}}{{!}}{{{date|}}}{{!}}{{!}}{{{since|}}}{{!}}{{!}}{{{until|}}}
 +
{{!}}-
 +
|tablefooter={{!}}}
 +
|labelfield=
 +
id={{#if:{{{id|}}}|{{{id|}}}|}}<br>state={{#if:{{{state|}}}|{{{state|}}}|}}<br>owner={{#if:{{{owner|}}}|{{{owner|}}}|}}<br>title={{#if:{{{title|}}}|{{{title|}}}|}}<br>url={{#if:{{{url|}}}|{{{url|}}}|}}<br>version={{#if:{{{version|}}}|{{{version|}}}|}}<br>description={{#if:{{{description|}}}|{{{description|}}}|}}<br>date={{#if:{{{date|}}}|{{{date|}}}|}}<br>since={{#if:{{{since|}}}|{{{since|}}}|}}<br>until={{#if:{{{until|}}}|{{{until|}}}|}}<br>|#default={{{!}} class='wikitable'
 +
! colspan='2' {{!}}OsProject
 +
{{!}}-
 +
{{#switch:{{{storemode|}}}|property=
 +
! colspan='2' style='text-align:left' {{!}} {{Icon|name=edit|size=24}}{{Link|target=Special:FormEdit/OsProject/{{FULLPAGENAME}}|title=edit}}
 +
{{!}}-
 +
}}
 +
!id
 +
{{!}}&nbsp;{{#if:{{{id|}}}|{{{id|}}}|}}
 +
{{!}}-
 +
!state
 +
{{!}}&nbsp;{{#if:{{{state|}}}|{{{state|}}}|}}
 +
{{!}}-
 +
!owner
 +
{{!}}&nbsp;{{#if:{{{owner|}}}|{{{owner|}}}|}}
 +
{{!}}-
 +
!title
 +
{{!}}&nbsp;{{#if:{{{title|}}}|{{{title|}}}|}}
 +
{{!}}-
 +
!url
 +
{{!}}&nbsp;{{#if:{{{url|}}}|{{{url|}}}|}}
 +
{{!}}-
 +
!version
 +
{{!}}&nbsp;{{#if:{{{version|}}}|{{{version|}}}|}}
 +
{{!}}-
 +
!description
 +
{{!}}&nbsp;{{#if:{{{description|}}}|{{{description|}}}|}}
 +
{{!}}-
 +
!date
 +
{{!}}&nbsp;{{#if:{{{date|}}}|{{{date|}}}|}}
 +
{{!}}-
 +
!since
 +
{{!}}&nbsp;{{#if:{{{since|}}}|{{{since|}}}|}}
 +
{{!}}-
 +
!until
 +
{{!}}&nbsp;{{#if:{{{until|}}}|{{{until|}}}|}}
 +
{{!}}-
 +
{{!}}}
 +
}}
 +
}}
 +
[[Category:OsProject]]{{#default_form:OsProject}}</includeonly>

Latest revision as of 08:09, 24 January 2022

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

Usage

storemode subobject

{{OsProject
|id=
|state=
|owner=
|title=
|url=
|version=
|description=
|date=
|since=
|until=
|storemode=subobject
}}

storemode property

{{OsProject
|id=
|state=
|owner=
|title=
|url=
|version=
|description=
|date=
|since=
|until=
|storemode=property
}}

storemode none

{{OsProject
|id=
|state=
|owner=
|title=
|url=
|version=
|description=
|date=
|since=
|until=
|storemode=none
}}


viewmode tableheader

{{OsProject
|id=
|state=
|owner=
|title=
|url=
|version=
|description=
|date=
|since=
|until=
|viewmode=tableheader
}}

viewmode tablerow

{{OsProject
|id=
|state=
|owner=
|title=
|url=
|version=
|description=
|date=
|since=
|until=
|viewmode=tablerow
}}

viewmode tablefooter

{{OsProject
|id=
|state=
|owner=
|title=
|url=
|version=
|description=
|date=
|since=
|until=
|viewmode=tablefooter
}}

viewmode labelfield

{{OsProject
|id=
|state=
|owner=
|title=
|url=
|version=
|description=
|date=
|since=
|until=
|viewmode=labelfield
}}

Source (pretty printed)

{{#switch:{{{userparam|}}}|sidif={{#if:{{{?pageid|}}}|{{#replace:{{#replace:{{{?pageid}}}|#|}}|-|_}} isA OsProject<br>|}}
{{#if:{{{?id|}}}|"{{{?id}}}" is id of it <br>|}}
{{#if:{{{?state|}}}|"{{{?state}}}" is state of it <br>|}}
{{#if:{{{?owner|}}}|"{{{?owner}}}" is owner of it <br>|}}
{{#if:{{{?title|}}}|"{{{?title}}}" is title of it <br>|}}
{{#if:{{{?url|}}}|"{{{?url}}}" is url of it <br>|}}
{{#if:{{{?version|}}}|"{{{?version}}}" is version of it <br>|}}
{{#if:{{{?description|}}}|"{{{?description}}}" is description of it <br>|}}
{{#if:{{{?date|}}}|"{{{?date}}}" is date of it <br>|}}
{{#if:{{{?since|}}}|"{{{?since}}}" is since of it <br>|}}
{{#if:{{{?until|}}}|"{{{?until}}}" is until of it <br>|}}
|#default={{#switch:{{{storemode|}}}
|none=
|subobject={{#subobject:-
|isA=OsProject
|OsProject id={{{id|}}}
|OsProject state={{{state|}}}
|OsProject owner={{{owner|}}}
|OsProject title={{{title|}}}
|OsProject url={{{url|}}}
|OsProject version={{{version|}}}
|OsProject description={{{description|}}}
|OsProject date={{{date|}}}
|OsProject since={{{since|}}}
|OsProject until={{{until|}}}
}}
|#default={{#set:
|isA=OsProject
|OsProject id={{{id|}}}
|OsProject state={{{state|}}}
|OsProject owner={{{owner|}}}
|OsProject title={{{title|}}}
|OsProject url={{{url|}}}
|OsProject version={{{version|}}}
|OsProject description={{{description|}}}
|OsProject date={{{date|}}}
|OsProject since={{{since|}}}
|OsProject until={{{until|}}}
}}
}}
{{#switch: {{{viewmode|}}}
|hidden=
|masterdetail=
= tickets =
{{#ask:[[Concept:Ticket]][[Ticket project::{{FULLPAGENAME}}]]
| ?Ticket no = no
| ?Ticket title = title
| ?Ticket project = project



}}
|tableheader={{{!}} class='wikitable'
!id!!state!!owner!!title!!url!!version!!description!!date!!since!!until
{{!}}-
|tablerow=
{{!}}{{{id|}}}{{!}}{{!}}{{{state|}}}{{!}}{{!}}{{{owner|}}}{{!}}{{!}}{{{title|}}}{{!}}{{!}}{{{url|}}}{{!}}{{!}}{{{version|}}}{{!}}{{!}}{{{description|}}}{{!}}{{!}}{{{date|}}}{{!}}{{!}}{{{since|}}}{{!}}{{!}}{{{until|}}}
{{!}}-
|tablefooter={{!}}}
|labelfield=
id={{#if:{{{id|}}}|{{{id|}}}|}}<br>state={{#if:{{{state|}}}|{{{state|}}}|}}<br>owner={{#if:{{{owner|}}}|{{{owner|}}}|}}<br>title={{#if:{{{title|}}}|{{{title|}}}|}}<br>url={{#if:{{{url|}}}|{{{url|}}}|}}<br>version={{#if:{{{version|}}}|{{{version|}}}|}}<br>description={{#if:{{{description|}}}|{{{description|}}}|}}<br>date={{#if:{{{date|}}}|{{{date|}}}|}}<br>since={{#if:{{{since|}}}|{{{since|}}}|}}<br>until={{#if:{{{until|}}}|{{{until|}}}|}}<br>|#default={{{!}} class='wikitable'
! colspan='2' {{!}}OsProject
{{!}}-
{{#switch:{{{storemode|}}}|property=
! colspan='2' style='text-align:left' {{!}} {{Icon|name=edit|size=24}}{{Link|target=Special:FormEdit/OsProject/{{FULLPAGENAME}}|title=edit}}
{{!}}-
}}
!id
{{!}}&nbsp;{{#if:{{{id|}}}|{{{id|}}}|}}
{{!}}-
!state
{{!}}&nbsp;{{#if:{{{state|}}}|{{{state|}}}|}}
{{!}}-
!owner
{{!}}&nbsp;{{#if:{{{owner|}}}|{{{owner|}}}|}}
{{!}}-
!title
{{!}}&nbsp;{{#if:{{{title|}}}|{{{title|}}}|}}
{{!}}-
!url
{{!}}&nbsp;{{#if:{{{url|}}}|{{{url|}}}|}}
{{!}}-
!version
{{!}}&nbsp;{{#if:{{{version|}}}|{{{version|}}}|}}
{{!}}-
!description
{{!}}&nbsp;{{#if:{{{description|}}}|{{{description|}}}|}}
{{!}}-
!date
{{!}}&nbsp;{{#if:{{{date|}}}|{{{date|}}}|}}
{{!}}-
!since
{{!}}&nbsp;{{#if:{{{since|}}}|{{{since|}}}|}}
{{!}}-
!until
{{!}}&nbsp;{{#if:{{{until|}}}|{{{until|}}}|}}
{{!}}-
{{!}}}
}}
}}
[[Category:OsProject]]{{#default_form:OsProject}}

Source

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