Difference between revisions of "Template:OsProject"

From BITPlan Wiki
Jump to navigation Jump to search
m (created by WikiTask 2018-08-21T03:52:22Z)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
=Usage =
+
<!--
<pre>
+
  -- Copyright (C) 2015-2018 BITPlan GmbH
{{OsProject|title=ANTLR Parser generator helper library|url=https://github.com/BITPlan/com.bitplan.antlr|version=0.0.3}}
+
  --
 +
  -- 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=
 +
|owner=
 +
|title=
 +
|url=
 +
|version=
 +
|storemode=subobject
 +
}}
 
</pre>
 
</pre>
=Example=
 
  
{{OsProject|title=ANTLR Parser generator helper library|url=https://github.com/BITPlan/com.bitplan.antlr|version=0.0.3}}
+
==== storemode property ====
 +
<pre>{{OsProject
 +
|id=
 +
|owner=
 +
|title=
 +
|url=
 +
|version=
 +
|storemode=property
 +
}}
 +
</pre>
 +
 
 +
==== storemode none ====
 +
<pre>{{OsProject
 +
|id=
 +
|owner=
 +
|title=
 +
|url=
 +
|version=
 +
|storemode=none
 +
}}
 +
</pre>
  
 +
 +
==== viewmode tableheader ====
 +
<pre>{{OsProject
 +
|id=
 +
|owner=
 +
|title=
 +
|url=
 +
|version=
 +
|viewmode=tableheader
 +
}}
 +
</pre>
 +
 +
==== viewmode tablerow ====
 +
<pre>{{OsProject
 +
|id=
 +
|owner=
 +
|title=
 +
|url=
 +
|version=
 +
|viewmode=tablerow
 +
}}
 +
</pre>
 +
 +
==== viewmode tablefooter ====
 +
<pre>{{OsProject
 +
|id=
 +
|owner=
 +
|title=
 +
|url=
 +
|version=
 +
|viewmode=tablefooter
 +
}}
 +
</pre>
 +
 +
==== viewmode labelfield ====
 +
<pre>{{OsProject
 +
|id=
 +
|owner=
 +
|title=
 +
|url=
 +
|version=
 +
|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:{{{?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>|}}
 +
|#default={{#switch:{{{storemode|}}}
 +
|none=
 +
|subobject={{#subobject:-
 +
|isA=OsProject
 +
|OsProject id={{{id|}}}
 +
|OsProject owner={{{owner|}}}
 +
|OsProject title={{{title|}}}
 +
|OsProject url={{{url|}}}
 +
|OsProject version={{{version|}}}
 +
}}
 +
|#default={{#set:
 +
|isA=OsProject
 +
|OsProject id={{{id|}}}
 +
|OsProject owner={{{owner|}}}
 +
|OsProject title={{{title|}}}
 +
|OsProject url={{{url|}}}
 +
|OsProject version={{{version|}}}
 +
}}
 +
}}
 +
{{#switch: {{{viewmode|}}}
 +
|hidden=
 +
|masterdetail=
 +
|tableheader={{{!}} class='wikitable'
 +
!id!!owner!!title!!url!!version
 +
{{!}}-
 +
|tablerow=
 +
{{!}}{{{id|}}}{{!}}{{!}}{{{owner|}}}{{!}}{{!}}{{{title|}}}{{!}}{{!}}{{{url|}}}{{!}}{{!}}{{{version|}}}
 +
{{!}}-
 +
|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>|#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|}}}|}}
 +
{{!}}-
 +
{{!}}}
 +
}}
 +
}}
 +
[[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>{{Link|target={{{url|}}}|title={{{title|}}} Version {{{version|}}}}}[[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:{{{?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>|}}
 +
|#default={{#switch:{{{storemode|}}}
 +
|none=
 +
|subobject={{#subobject:-
 +
|isA=OsProject
 +
|OsProject id={{{id|}}}
 +
|OsProject owner={{{owner|}}}
 +
|OsProject title={{{title|}}}
 +
|OsProject url={{{url|}}}
 +
|OsProject version={{{version|}}}
 +
}}
 +
|#default={{#set:
 +
|isA=OsProject
 +
|OsProject id={{{id|}}}
 +
|OsProject owner={{{owner|}}}
 +
|OsProject title={{{title|}}}
 +
|OsProject url={{{url|}}}
 +
|OsProject version={{{version|}}}
 +
}}
 +
}}
 +
{{#switch: {{{viewmode|}}}
 +
|hidden=
 +
|masterdetail=
 +
|tableheader={{{!}} class='wikitable'
 +
!id!!owner!!title!!url!!version
 +
{{!}}-
 +
|tablerow=
 +
{{!}}{{{id|}}}{{!}}{{!}}{{{owner|}}}{{!}}{{!}}{{{title|}}}{{!}}{{!}}{{{url|}}}{{!}}{{!}}{{{version|}}}
 +
{{!}}-
 +
|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>|#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|}}}|}}
 +
{{!}}-
 +
{{!}}}
 +
}}
 +
}}
 +
[[Category:OsProject]]{{#default_form:OsProject}}</includeonly>

Revision as of 04:52, 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=
|storemode=subobject
}}

storemode property

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

storemode none

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


viewmode tableheader

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

viewmode tablerow

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

viewmode tablefooter

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

viewmode labelfield

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

Source

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