Template:OsProject
Jump to navigation
Jump to search
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= |since= |until= |storemode=subobject }}
storemode property
{{OsProject |id= |owner= |title= |url= |version= |date= |since= |until= |storemode=property }}
storemode none
{{OsProject |id= |owner= |title= |url= |version= |date= |since= |until= |storemode=none }}
viewmode tableheader
{{OsProject |id= |owner= |title= |url= |version= |date= |since= |until= |viewmode=tableheader }}
viewmode tablerow
{{OsProject |id= |owner= |title= |url= |version= |date= |since= |until= |viewmode=tablerow }}
{{OsProject |id= |owner= |title= |url= |version= |date= |since= |until= |viewmode=tablefooter }}
viewmode labelfield
{{OsProject |id= |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:{{{?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 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 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!!owner!!title!!url!!version!!date!!since!!until
{{!}}-
|tablerow=
{{!}}{{{id|}}}{{!}}{{!}}{{{owner|}}}{{!}}{{!}}{{{title|}}}{{!}}{{!}}{{{url|}}}{{!}}{{!}}{{{version|}}}{{!}}{{!}}{{{date|}}}{{!}}{{!}}{{{since|}}}{{!}}{{!}}{{{until|}}}
{{!}}-
|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>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
{{!}} {{#if:{{{id|}}}|{{{id|}}}|}}
{{!}}-
!owner
{{!}} {{#if:{{{owner|}}}|{{{owner|}}}|}}
{{!}}-
!title
{{!}} {{#if:{{{title|}}}|{{{title|}}}|}}
{{!}}-
!url
{{!}} {{#if:{{{url|}}}|{{{url|}}}|}}
{{!}}-
!version
{{!}} {{#if:{{{version|}}}|{{{version|}}}|}}
{{!}}-
!date
{{!}} {{#if:{{{date|}}}|{{{date|}}}|}}
{{!}}-
!since
{{!}} {{#if:{{{since|}}}|{{{since|}}}|}}
{{!}}-
!until
{{!}} {{#if:{{{until|}}}|{{{until|}}}|}}
{{!}}-
{{!}}}
}}
}}
[[Category:OsProject]]{{#default_form:OsProject}}
Source
Click on "Edit" to edit the noinclude-part Source of this Template.