Difference between revisions of "Template:OsProject"

From BITPlan Wiki
Jump to navigation Jump to search
m (created by WikiTask 2021-12-17T13:17:53Z)
m (created by WikiTask 2021-12-20T09:22:33Z)
Line 17: Line 17:
 
<pre>{{OsProject
 
<pre>{{OsProject
 
|id=
 
|id=
 +
|state=
 
|owner=
 
|owner=
 
|title=
 
|title=
Line 31: Line 32:
 
<pre>{{OsProject
 
<pre>{{OsProject
 
|id=
 
|id=
 +
|state=
 
|owner=
 
|owner=
 
|title=
 
|title=
Line 45: Line 47:
 
<pre>{{OsProject
 
<pre>{{OsProject
 
|id=
 
|id=
 +
|state=
 
|owner=
 
|owner=
 
|title=
 
|title=
Line 60: Line 63:
 
<pre>{{OsProject
 
<pre>{{OsProject
 
|id=
 
|id=
 +
|state=
 
|owner=
 
|owner=
 
|title=
 
|title=
Line 74: Line 78:
 
<pre>{{OsProject
 
<pre>{{OsProject
 
|id=
 
|id=
 +
|state=
 
|owner=
 
|owner=
 
|title=
 
|title=
Line 88: Line 93:
 
<pre>{{OsProject
 
<pre>{{OsProject
 
|id=
 
|id=
 +
|state=
 
|owner=
 
|owner=
 
|title=
 
|title=
Line 102: Line 108:
 
<pre>{{OsProject
 
<pre>{{OsProject
 
|id=
 
|id=
 +
|state=
 
|owner=
 
|owner=
 
|title=
 
|title=
Line 117: Line 124:
 
{{#switch:{{{userparam|}}}|sidif={{#if:{{{?pageid|}}}|{{#replace:{{#replace:{{{?pageid}}}|#|}}|-|_}} isA OsProject<br>|}}
 
{{#switch:{{{userparam|}}}|sidif={{#if:{{{?pageid|}}}|{{#replace:{{#replace:{{{?pageid}}}|#|}}|-|_}} isA OsProject<br>|}}
 
{{#if:{{{?id|}}}|"{{{?id}}}" is id of it <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:{{{?owner|}}}|"{{{?owner}}}" is owner of it <br>|}}
 
{{#if:{{{?title|}}}|"{{{?title}}}" is title of it <br>|}}
 
{{#if:{{{?title|}}}|"{{{?title}}}" is title of it <br>|}}
Line 129: Line 137:
 
|isA=OsProject
 
|isA=OsProject
 
|OsProject id={{{id|}}}
 
|OsProject id={{{id|}}}
 +
|OsProject state={{{state|}}}
 
|OsProject owner={{{owner|}}}
 
|OsProject owner={{{owner|}}}
 
|OsProject title={{{title|}}}
 
|OsProject title={{{title|}}}
Line 140: Line 149:
 
|isA=OsProject
 
|isA=OsProject
 
|OsProject id={{{id|}}}
 
|OsProject id={{{id|}}}
 +
|OsProject state={{{state|}}}
 
|OsProject owner={{{owner|}}}
 
|OsProject owner={{{owner|}}}
 
|OsProject title={{{title|}}}
 
|OsProject title={{{title|}}}
Line 153: Line 163:
 
|masterdetail=
 
|masterdetail=
 
|tableheader={{{!}} class='wikitable'
 
|tableheader={{{!}} class='wikitable'
!id!!owner!!title!!url!!version!!date!!since!!until
+
!id!!state!!owner!!title!!url!!version!!date!!since!!until
 
{{!}}-
 
{{!}}-
 
|tablerow=
 
|tablerow=
{{!}}{{{id|}}}{{!}}{{!}}{{{owner|}}}{{!}}{{!}}{{{title|}}}{{!}}{{!}}{{{url|}}}{{!}}{{!}}{{{version|}}}{{!}}{{!}}{{{date|}}}{{!}}{{!}}{{{since|}}}{{!}}{{!}}{{{until|}}}
+
{{!}}{{{id|}}}{{!}}{{!}}{{{state|}}}{{!}}{{!}}{{{owner|}}}{{!}}{{!}}{{{title|}}}{{!}}{{!}}{{{url|}}}{{!}}{{!}}{{{version|}}}{{!}}{{!}}{{{date|}}}{{!}}{{!}}{{{since|}}}{{!}}{{!}}{{{until|}}}
 
{{!}}-
 
{{!}}-
 
|tablefooter={{!}}}
 
|tablefooter={{!}}}
 
|labelfield=
 
|labelfield=
id={{#if:{{{id|}}}|{{{id|}}}|}}<br>owner={{#if:{{{owner|}}}|{{{owner|}}}|}}<br>title={{#if:{{{title|}}}|{{{title|}}}|}}<br>url={{#if:{{{url|}}}|{{{url|}}}|}}<br>version={{#if:{{{version|}}}|{{{version|}}}|}}<br>date={{#if:{{{date|}}}|{{{date|}}}|}}<br>since={{#if:{{{since|}}}|{{{since|}}}|}}<br>until={{#if:{{{until|}}}|{{{until|}}}|}}<br>|#default={{{!}} class='wikitable'
+
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>date={{#if:{{{date|}}}|{{{date|}}}|}}<br>since={{#if:{{{since|}}}|{{{since|}}}|}}<br>until={{#if:{{{until|}}}|{{{until|}}}|}}<br>|#default={{{!}} class='wikitable'
 
! colspan='2' {{!}}OsProject
 
! colspan='2' {{!}}OsProject
 
{{!}}-
 
{{!}}-
Line 169: Line 179:
 
!id
 
!id
 
{{!}}&nbsp;{{#if:{{{id|}}}|{{{id|}}}|}}
 
{{!}}&nbsp;{{#if:{{{id|}}}|{{{id|}}}|}}
 +
{{!}}-
 +
!state
 +
{{!}}&nbsp;{{#if:{{{state|}}}|{{{state|}}}|}}
 
{{!}}-
 
{{!}}-
 
!owner
 
!owner
Line 202: Line 215:
 
</noinclude><includeonly>{{#switch:{{{userparam|}}}|sidif={{#if:{{{?pageid|}}}|{{#replace:{{#replace:{{{?pageid}}}|#|}}|-|_}} isA OsProject<br>|}}
 
</noinclude><includeonly>{{#switch:{{{userparam|}}}|sidif={{#if:{{{?pageid|}}}|{{#replace:{{#replace:{{{?pageid}}}|#|}}|-|_}} isA OsProject<br>|}}
 
{{#if:{{{?id|}}}|"{{{?id}}}" is id of it <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:{{{?owner|}}}|"{{{?owner}}}" is owner of it <br>|}}
 
{{#if:{{{?title|}}}|"{{{?title}}}" is title of it <br>|}}
 
{{#if:{{{?title|}}}|"{{{?title}}}" is title of it <br>|}}
Line 214: Line 228:
 
|isA=OsProject
 
|isA=OsProject
 
|OsProject id={{{id|}}}
 
|OsProject id={{{id|}}}
 +
|OsProject state={{{state|}}}
 
|OsProject owner={{{owner|}}}
 
|OsProject owner={{{owner|}}}
 
|OsProject title={{{title|}}}
 
|OsProject title={{{title|}}}
Line 225: Line 240:
 
|isA=OsProject
 
|isA=OsProject
 
|OsProject id={{{id|}}}
 
|OsProject id={{{id|}}}
 +
|OsProject state={{{state|}}}
 
|OsProject owner={{{owner|}}}
 
|OsProject owner={{{owner|}}}
 
|OsProject title={{{title|}}}
 
|OsProject title={{{title|}}}
Line 238: Line 254:
 
|masterdetail=
 
|masterdetail=
 
|tableheader={{{!}} class='wikitable'
 
|tableheader={{{!}} class='wikitable'
!id!!owner!!title!!url!!version!!date!!since!!until
+
!id!!state!!owner!!title!!url!!version!!date!!since!!until
 
{{!}}-
 
{{!}}-
 
|tablerow=
 
|tablerow=
{{!}}{{{id|}}}{{!}}{{!}}{{{owner|}}}{{!}}{{!}}{{{title|}}}{{!}}{{!}}{{{url|}}}{{!}}{{!}}{{{version|}}}{{!}}{{!}}{{{date|}}}{{!}}{{!}}{{{since|}}}{{!}}{{!}}{{{until|}}}
+
{{!}}{{{id|}}}{{!}}{{!}}{{{state|}}}{{!}}{{!}}{{{owner|}}}{{!}}{{!}}{{{title|}}}{{!}}{{!}}{{{url|}}}{{!}}{{!}}{{{version|}}}{{!}}{{!}}{{{date|}}}{{!}}{{!}}{{{since|}}}{{!}}{{!}}{{{until|}}}
 
{{!}}-
 
{{!}}-
 
|tablefooter={{!}}}
 
|tablefooter={{!}}}
 
|labelfield=
 
|labelfield=
id={{#if:{{{id|}}}|{{{id|}}}|}}<br>owner={{#if:{{{owner|}}}|{{{owner|}}}|}}<br>title={{#if:{{{title|}}}|{{{title|}}}|}}<br>url={{#if:{{{url|}}}|{{{url|}}}|}}<br>version={{#if:{{{version|}}}|{{{version|}}}|}}<br>date={{#if:{{{date|}}}|{{{date|}}}|}}<br>since={{#if:{{{since|}}}|{{{since|}}}|}}<br>until={{#if:{{{until|}}}|{{{until|}}}|}}<br>|#default={{{!}} class='wikitable'
+
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>date={{#if:{{{date|}}}|{{{date|}}}|}}<br>since={{#if:{{{since|}}}|{{{since|}}}|}}<br>until={{#if:{{{until|}}}|{{{until|}}}|}}<br>|#default={{{!}} class='wikitable'
 
! colspan='2' {{!}}OsProject
 
! colspan='2' {{!}}OsProject
 
{{!}}-
 
{{!}}-
Line 254: Line 270:
 
!id
 
!id
 
{{!}}&nbsp;{{#if:{{{id|}}}|{{{id|}}}|}}
 
{{!}}&nbsp;{{#if:{{{id|}}}|{{{id|}}}|}}
 +
{{!}}-
 +
!state
 +
{{!}}&nbsp;{{#if:{{{state|}}}|{{{state|}}}|}}
 
{{!}}-
 
{{!}}-
 
!owner
 
!owner

Revision as of 10:22, 20 December 2021

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=
|date=
|since=
|until=
|storemode=subobject
}}

storemode property

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

storemode none

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


viewmode tableheader

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

viewmode tablerow

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

viewmode tablefooter

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

viewmode labelfield

{{OsProject
|id=
|state=
|owner=
|title=
|url=
|version=
|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:{{{?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 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 date={{{date|}}}
|OsProject since={{{since|}}}
|OsProject until={{{until|}}}
}}
}}
{{#switch: {{{viewmode|}}}
|hidden=
|masterdetail=
|tableheader={{{!}} class='wikitable'
!id!!state!!owner!!title!!url!!version!!date!!since!!until
{{!}}-
|tablerow=
{{!}}{{{id|}}}{{!}}{{!}}{{{state|}}}{{!}}{{!}}{{{owner|}}}{{!}}{{!}}{{{title|}}}{{!}}{{!}}{{{url|}}}{{!}}{{!}}{{{version|}}}{{!}}{{!}}{{{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>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|}}}|}}
{{!}}-
!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.