Template:Wiki

From Openresearch
Jump to: navigation, search

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

Usage

storemode subobject

{{Wiki
|id=
|since=
|until=
|backup=
|server=
|safes=
|owner=
|project=
|siteurl=
|scriptPath=
|purpose=
|language=
|storemode=subobject
}}

storemode property

{{Wiki
|id=
|since=
|until=
|backup=
|server=
|safes=
|owner=
|project=
|siteurl=
|scriptPath=
|purpose=
|language=
|storemode=property
}}

storemode none

{{Wiki
|id=
|since=
|until=
|backup=
|server=
|safes=
|owner=
|project=
|siteurl=
|scriptPath=
|purpose=
|language=
|storemode=none
}}


viewmode tableheader

{{Wiki
|id=
|since=
|until=
|backup=
|server=
|safes=
|owner=
|project=
|siteurl=
|scriptPath=
|purpose=
|language=
|viewmode=tableheader
}}

viewmode tablerow

{{Wiki
|id=
|since=
|until=
|backup=
|server=
|safes=
|owner=
|project=
|siteurl=
|scriptPath=
|purpose=
|language=
|viewmode=tablerow
}}

viewmode tablefooter

{{Wiki
|id=
|since=
|until=
|backup=
|server=
|safes=
|owner=
|project=
|siteurl=
|scriptPath=
|purpose=
|language=
|viewmode=tablefooter
}}

viewmode labelfield

{{Wiki
|id=
|since=
|until=
|backup=
|server=
|safes=
|owner=
|project=
|siteurl=
|scriptPath=
|purpose=
|language=
|viewmode=labelfield
}}

Source (pretty printed)

{{#switch:{{{userparam|}}}|sidif={{#if:{{{?pageid|}}}|{{#replace:{{#replace:{{{?pageid}}}|#|}}|-|_}} isA Wiki<br>|}}
{{#if:{{{?id|}}}|"{{{?id}}}" is id of it <br>|}}
{{#if:{{{?since|}}}|"{{{?since}}}" is since of it <br>|}}
{{#if:{{{?until|}}}|"{{{?until}}}" is until of it <br>|}}
{{#if:{{{?backup|}}}|"{{{?backup}}}" is backup of it <br>|}}
{{#if:{{{?server|}}}|"{{{?server}}}" is server of it <br>|}}
{{#if:{{{?safes|}}}|"{{{?safes}}}" is safes of it <br>|}}
{{#if:{{{?owner|}}}|"{{{?owner}}}" is owner of it <br>|}}
{{#if:{{{?project|}}}|"{{{?project}}}" is project of it <br>|}}
{{#if:{{{?siteurl|}}}|"{{{?siteurl}}}" is siteurl of it <br>|}}
{{#if:{{{?scriptPath|}}}|"{{{?scriptPath}}}" is scriptPath of it <br>|}}
{{#if:{{{?purpose|}}}|"{{{?purpose}}}" is purpose of it <br>|}}
{{#if:{{{?language|}}}|"{{{?language}}}" is language of it <br>|}}
|#default={{#switch:{{{storemode|}}}
|none=
|subobject={{#subobject:-
|isA=Wiki
|Wiki id={{{id|}}}
|Wiki since={{{since|}}}
|Wiki until={{{until|}}}
|Wiki backup={{{backup|}}}
|Wiki server={{{server|}}}
|Wiki safes={{{safes|}}}
|Wiki owner={{{owner|}}}
|Wiki project={{{project|}}}
|Wiki siteurl={{{siteurl|}}}
|Wiki scriptPath={{{scriptPath|}}}
|Wiki purpose={{{purpose|}}}
|Wiki language={{{language|}}}
}}
|#default={{#set:
|isA=Wiki
|Wiki id={{{id|}}}
|Wiki since={{{since|}}}
|Wiki until={{{until|}}}
|Wiki backup={{{backup|}}}
|Wiki server={{{server|}}}
|Wiki safes={{{safes|}}}
|Wiki owner={{{owner|}}}
|Wiki project={{{project|}}}
|Wiki siteurl={{{siteurl|}}}
|Wiki scriptPath={{{scriptPath|}}}
|Wiki purpose={{{purpose|}}}
|Wiki language={{{language|}}}
}}
}}
{{#switch: {{{viewmode|}}}
|hidden=
|masterdetail=
= transferPage =
{{#ask:[[Concept:TransferPage]][[TransferPage wiki::{{FULLPAGENAME}}]]
| ?TransferPage page = page
| ?TransferPage wiki = wiki



}}
= extensions =
{{#ask:[[Concept:Extension]][[Extension wiki::{{FULLPAGENAME}}]]
| ?Extension name = name
| ?Extension url = url
| ?Extension purpose = purpose
| ?Extension since = since
| ?Extension wiki = wiki



}}
|tableheader={{{!}} class='wikitable'
!id!!since!!until!!backup!!server!!safes!!owner!!project!!siteurl!!scriptPath!!purpose!!language
{{!}}-
|tablerow=
{{!}}{{{id|}}}{{!}}{{!}}{{{since|}}}{{!}}{{!}}{{{until|}}}{{!}}{{!}}{{{backup|}}}{{!}}{{!}}{{{server|}}}{{!}}{{!}}{{{safes|}}}{{!}}{{!}}{{{owner|}}}{{!}}{{!}}{{{project|}}}{{!}}{{!}}{{{siteurl|}}}{{!}}{{!}}{{{scriptPath|}}}{{!}}{{!}}{{{purpose|}}}{{!}}{{!}}{{{language|}}}
{{!}}-
|tablefooter={{!}}}
|labelfield=
id={{#if:{{{id|}}}|{{{id|}}}|}}<br>since={{#if:{{{since|}}}|{{{since|}}}|}}<br>until={{#if:{{{until|}}}|{{{until|}}}|}}<br>backup={{#if:{{{backup|}}}|{{{backup|}}}|}}<br>server={{#if:{{{server|}}}|[[{{{server|}}}]]|}}<br>safes={{#if:{{{safes|}}}|{{{safes|}}}|}}<br>owner={{#if:{{{owner|}}}|[[{{{owner|}}}]]|}}<br>project={{#if:{{{project|}}}|[[{{{project|}}}]]|}}<br>siteurl={{#if:{{{siteurl|}}}|{{{siteurl|}}}|}}<br>scriptPath={{#if:{{{scriptPath|}}}|{{{scriptPath|}}}|}}<br>purpose={{#if:{{{purpose|}}}|{{{purpose|}}}|}}<br>language={{#if:{{{language|}}}|{{{language|}}}|}}<br>|#default={{{!}} class='wikitable'
! colspan='2' {{!}}Wiki
{{!}}-
{{#switch:{{{storemode|}}}|property=
! colspan='2' style='text-align:left' {{!}} {{Icon|name=edit|size=24}}{{Link|target=Special:FormEdit/Wiki/{{FULLPAGENAME}}|title=edit}}
{{!}}-
}}
!id
{{!}}&nbsp;{{#if:{{{id|}}}|{{{id|}}}|}}
{{!}}-
!since
{{!}}&nbsp;{{#if:{{{since|}}}|{{{since|}}}|}}
{{!}}-
!until
{{!}}&nbsp;{{#if:{{{until|}}}|{{{until|}}}|}}
{{!}}-
!backup
{{!}}&nbsp;{{#if:{{{backup|}}}|{{{backup|}}}|}}
{{!}}-
!server
{{!}}&nbsp;{{#if:{{{server|}}}|[[{{{server|}}}]]|}}
{{!}}-
!safes
{{!}}&nbsp;{{#if:{{{safes|}}}|{{{safes|}}}|}}
{{!}}-
!owner
{{!}}&nbsp;{{#if:{{{owner|}}}|[[{{{owner|}}}]]|}}
{{!}}-
!project
{{!}}&nbsp;{{#if:{{{project|}}}|[[{{{project|}}}]]|}}
{{!}}-
!siteurl
{{!}}&nbsp;{{#if:{{{siteurl|}}}|{{{siteurl|}}}|}}
{{!}}-
!scriptPath
{{!}}&nbsp;{{#if:{{{scriptPath|}}}|{{{scriptPath|}}}|}}
{{!}}-
!purpose
{{!}}&nbsp;{{#if:{{{purpose|}}}|{{{purpose|}}}|}}
{{!}}-
!language
{{!}}&nbsp;{{#if:{{{language|}}}|{{{language|}}}|}}
{{!}}-
{{!}}}
}}
}}
[[Category:Wiki]]{{#default_form:Wiki}}

Source

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