Difference between revisions of "Template:OsProject"

From BITPlan Wiki
Jump to navigation Jump to search
m (created by WikiTask 2018-08-21T03:52:22Z)
m (created by WikiTask 2018-08-21T04:21:03Z)
Line 21: Line 21:
 
|url=
 
|url=
 
|version=
 
|version=
 +
|date=
 
|storemode=subobject
 
|storemode=subobject
 
}}
 
}}
Line 32: Line 33:
 
|url=
 
|url=
 
|version=
 
|version=
 +
|date=
 
|storemode=property
 
|storemode=property
 
}}
 
}}
Line 43: Line 45:
 
|url=
 
|url=
 
|version=
 
|version=
 +
|date=
 
|storemode=none
 
|storemode=none
 
}}
 
}}
Line 55: Line 58:
 
|url=
 
|url=
 
|version=
 
|version=
 +
|date=
 
|viewmode=tableheader
 
|viewmode=tableheader
 
}}
 
}}
Line 66: Line 70:
 
|url=
 
|url=
 
|version=
 
|version=
 +
|date=
 
|viewmode=tablerow
 
|viewmode=tablerow
 
}}
 
}}
Line 77: Line 82:
 
|url=
 
|url=
 
|version=
 
|version=
 +
|date=
 
|viewmode=tablefooter
 
|viewmode=tablefooter
 
}}
 
}}
Line 88: Line 94:
 
|url=
 
|url=
 
|version=
 
|version=
 +
|date=
 
|viewmode=labelfield
 
|viewmode=labelfield
 
}}
 
}}
Line 100: Line 107:
 
{{#if:{{{?url|}}}|"{{{?url}}}" is url of it <br>|}}
 
{{#if:{{{?url|}}}|"{{{?url}}}" is url of it <br>|}}
 
{{#if:{{{?version|}}}|"{{{?version}}}" is version of it <br>|}}
 
{{#if:{{{?version|}}}|"{{{?version}}}" is version of it <br>|}}
 +
{{#if:{{{?date|}}}|"{{{?date}}}" is date of it <br>|}}
 
|#default={{#switch:{{{storemode|}}}
 
|#default={{#switch:{{{storemode|}}}
 
|none=
 
|none=
Line 109: Line 117:
 
|OsProject url={{{url|}}}
 
|OsProject url={{{url|}}}
 
|OsProject version={{{version|}}}
 
|OsProject version={{{version|}}}
 +
|OsProject date={{{date|}}}
 
}}
 
}}
 
|#default={{#set:
 
|#default={{#set:
Line 117: Line 126:
 
|OsProject url={{{url|}}}
 
|OsProject url={{{url|}}}
 
|OsProject version={{{version|}}}
 
|OsProject version={{{version|}}}
 +
|OsProject date={{{date|}}}
 
}}
 
}}
 
}}
 
}}
Line 123: Line 133:
 
|masterdetail=
 
|masterdetail=
 
|tableheader={{{!}} class='wikitable'
 
|tableheader={{{!}} class='wikitable'
!id!!owner!!title!!url!!version
+
!id!!owner!!title!!url!!version!!date
 
{{!}}-
 
{{!}}-
 
|tablerow=
 
|tablerow=
{{!}}{{{id|}}}{{!}}{{!}}{{{owner|}}}{{!}}{{!}}{{{title|}}}{{!}}{{!}}{{{url|}}}{{!}}{{!}}{{{version|}}}
+
{{!}}{{{id|}}}{{!}}{{!}}{{{owner|}}}{{!}}{{!}}{{{title|}}}{{!}}{{!}}{{{url|}}}{{!}}{{!}}{{{version|}}}{{!}}{{!}}{{{date|}}}
 
{{!}}-
 
{{!}}-
 
|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>|#default={{{!}} class='wikitable'
+
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>|#default={{{!}} class='wikitable'
 
! colspan='2' {{!}}OsProject
 
! colspan='2' {{!}}OsProject
 
{{!}}-
 
{{!}}-
Line 151: Line 161:
 
!version
 
!version
 
{{!}}&nbsp;{{#if:{{{version|}}}|{{{version|}}}|}}
 
{{!}}&nbsp;{{#if:{{{version|}}}|{{{version|}}}|}}
 +
{{!}}-
 +
!date
 +
{{!}}&nbsp;{{#if:{{{date|}}}|{{{date|}}}|}}
 
{{!}}-
 
{{!}}-
 
{{!}}}
 
{{!}}}
Line 167: Line 180:
 
{{#if:{{{?url|}}}|"{{{?url}}}" is url of it <br>|}}
 
{{#if:{{{?url|}}}|"{{{?url}}}" is url of it <br>|}}
 
{{#if:{{{?version|}}}|"{{{?version}}}" is version of it <br>|}}
 
{{#if:{{{?version|}}}|"{{{?version}}}" is version of it <br>|}}
 +
{{#if:{{{?date|}}}|"{{{?date}}}" is date of it <br>|}}
 
|#default={{#switch:{{{storemode|}}}
 
|#default={{#switch:{{{storemode|}}}
 
|none=
 
|none=
Line 176: Line 190:
 
|OsProject url={{{url|}}}
 
|OsProject url={{{url|}}}
 
|OsProject version={{{version|}}}
 
|OsProject version={{{version|}}}
 +
|OsProject date={{{date|}}}
 
}}
 
}}
 
|#default={{#set:
 
|#default={{#set:
Line 184: Line 199:
 
|OsProject url={{{url|}}}
 
|OsProject url={{{url|}}}
 
|OsProject version={{{version|}}}
 
|OsProject version={{{version|}}}
 +
|OsProject date={{{date|}}}
 
}}
 
}}
 
}}
 
}}
Line 190: Line 206:
 
|masterdetail=
 
|masterdetail=
 
|tableheader={{{!}} class='wikitable'
 
|tableheader={{{!}} class='wikitable'
!id!!owner!!title!!url!!version
+
!id!!owner!!title!!url!!version!!date
 
{{!}}-
 
{{!}}-
 
|tablerow=
 
|tablerow=
{{!}}{{{id|}}}{{!}}{{!}}{{{owner|}}}{{!}}{{!}}{{{title|}}}{{!}}{{!}}{{{url|}}}{{!}}{{!}}{{{version|}}}
+
{{!}}{{{id|}}}{{!}}{{!}}{{{owner|}}}{{!}}{{!}}{{{title|}}}{{!}}{{!}}{{{url|}}}{{!}}{{!}}{{{version|}}}{{!}}{{!}}{{{date|}}}
 
{{!}}-
 
{{!}}-
 
|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>|#default={{{!}} class='wikitable'
+
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>|#default={{{!}} class='wikitable'
 
! colspan='2' {{!}}OsProject
 
! colspan='2' {{!}}OsProject
 
{{!}}-
 
{{!}}-
Line 218: Line 234:
 
!version
 
!version
 
{{!}}&nbsp;{{#if:{{{version|}}}|{{{version|}}}|}}
 
{{!}}&nbsp;{{#if:{{{version|}}}|{{{version|}}}|}}
 +
{{!}}-
 +
!date
 +
{{!}}&nbsp;{{#if:{{{date|}}}|{{{date|}}}|}}
 
{{!}}-
 
{{!}}-
 
{{!}}}
 
{{!}}}

Revision as of 05:21, 21 August 2018

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=
|owner=
|title=
|url=
|version=
|date=
|storemode=subobject
}}

storemode property

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

storemode none

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


viewmode tableheader

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

viewmode tablerow

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

viewmode tablefooter

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

viewmode labelfield

{{OsProject
|id=
|owner=
|title=
|url=
|version=
|date=
|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:{{{?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>|}}
|#default={{#switch:{{{storemode|}}}
|none=
|subobject={{#subobject:-
|isA=OsProject
|OsProject id={{{id|}}}
|OsProject owner={{{owner|}}}
|OsProject title={{{title|}}}
|OsProject url={{{url|}}}
|OsProject version={{{version|}}}
|OsProject date={{{date|}}}
}}
|#default={{#set:
|isA=OsProject
|OsProject id={{{id|}}}
|OsProject owner={{{owner|}}}
|OsProject title={{{title|}}}
|OsProject url={{{url|}}}
|OsProject version={{{version|}}}
|OsProject date={{{date|}}}
}}
}}
{{#switch: {{{viewmode|}}}
|hidden=
|masterdetail=
|tableheader={{{!}} class='wikitable'
!id!!owner!!title!!url!!version!!date
{{!}}-
|tablerow=
{{!}}{{{id|}}}{{!}}{{!}}{{{owner|}}}{{!}}{{!}}{{{title|}}}{{!}}{{!}}{{{url|}}}{{!}}{{!}}{{{version|}}}{{!}}{{!}}{{{date|}}}
{{!}}-
|tablefooter={{!}}}
|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>|#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|}}}|}}
{{!}}-
!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|}}}|}}
{{!}}-
{{!}}}
}}
}}
[[Category:OsProject]]{{#default_form:OsProject}}

Source

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