Difference between revisions of "Template:OOPM:Templates:Documentation:Shared:StandardTemplateHeader"

From Apache OpenOffice Wiki
Jump to: navigation, search
(made this template a non versioned template)
 
(48 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
 
__NOEDITSECTION__
 
__NOEDITSECTION__
 
 
== Meta ==
 
== Meta ==
  
Line 9: Line 8:
 
|-
 
|-
 
|'''Author'''
 
|'''Author'''
|{{{author|no author provided}}}
+
|Carsten Klein "rts" <carsten.klein@abstraxion.de>
 
|-
 
|-
 
|'''Created'''
 
|'''Created'''
|{{{created|no creation date given}}}
+
|2009-04-08
 
|-
 
|-
 
|'''Edited'''
 
|'''Edited'''
 
|{{REVISIONYEAR}}-{{#if: {{REVISIONMONTH}} < 10 | 0{{REVISIONMONTH}} | {{REVISIONMONTH}} }}-{{REVISIONDAY2}}
 
|{{REVISIONYEAR}}-{{#if: {{REVISIONMONTH}} < 10 | 0{{REVISIONMONTH}} | {{REVISIONMONTH}} }}-{{REVISIONDAY2}}
 
|}
 
|}
<br/>
 
  
 
== Purpose ==
 
== Purpose ==
  
Standardheader for inclusion with newly created and existing templates.
+
Standardheader for inclusion with MediaWiki templates.
  
 
== Synopsis ==
 
== Synopsis ==
Line 27: Line 25:
 
<pre>
 
<pre>
 
Template Usage:
 
Template Usage:
<noinclude>
+
&lt;noinclude>
{{Template:OOPM:Templates:Documentation:Shared:StandardTemplateHeader:1.0
+
{{Template:OOPM:Templates:Documentation:Shared:StandardTemplateHeader
|author=
+
|author=<AuthorName>
|created=
+
|created=<Date>
|purpose=
+
|purpose=<WikiMarkup>
|synopsis=
+
|synopsis=<Synopsis>
|parameters=
+
|parameters=<WikiMarkup>
|preview=
+
|preview=<WikiMarkup>
 
}}
 
}}
</noinclude>
+
&lt;/noinclude>
 
</pre>
 
</pre>
  
 
=== Parameter Reference ===
 
=== Parameter Reference ===
  
* author
+
* author (should provide)
* created
+
: the author's name and provably also his or her email address, e.g. Foo Bar "foobar" <foobar@test.org>
* purpose
+
* created (should provide)
* synopsis
+
: the date of initial creation in YYYY-MM-DD format
* parameters
+
* purpose (should provide)
* preview
+
: a purpose statement
 +
* synopsis (should provide)
 +
: the usage synopsis, e.g. the actual template call omitting the surrounding double curly brackets
 +
* parameters (should provide)
 +
: a parameter reference where required
 +
* preview (optional)
 +
: an optional preview of the template
  
 
== Preview ==
 
== Preview ==
  
IMPORTANT NOTICE: Do not edit nor create the below dummy links.
+
See this template.
  
</noinclude>
+
[[Category:OOPM:Templates:Documentation|Shared]]</noinclude><includeonly>
 
+
<includeonly>
+
 
__NOEDITSECTION__
 
__NOEDITSECTION__
 +
== Meta ==
 +
 +
{|
 +
|'''Template Name'''
 +
|{{FULLPAGENAMEE}}
 +
|-
 +
|'''Author'''
 +
|{{{author|no author provided}}}
 +
|-
 +
|'''Created'''
 +
|{{{created|no creation date given}}}
 +
|-
 +
|'''Edited'''
 +
|{{REVISIONYEAR}}-{{#if: {{REVISIONMONTH}} < 10 | 0{{REVISIONMONTH}} | {{REVISIONMONTH}} }}-{{REVISIONDAY2}}
 +
|}
  
 
== Purpose ==
 
== Purpose ==
Line 63: Line 80:
 
== Synopsis ==
 
== Synopsis ==
  
{{#if: {{{synopsis}}} | <pre>{{{synopsis}}} | no synopsis declaration available}}}
+
{{#ifeq: {{{synopsis|none}}} | none | no synopsis available
 +
|&#123;&#123;{{{synopsis}}}<br />&#125;&#125;
 +
}}
  
 
=== Parameter Reference ===
 
=== Parameter Reference ===
  
 
{{{parameters|no parameter reference available}}}
 
{{{parameters|no parameter reference available}}}
 +
 +
{{#ifeq: {{{preview|none}}} | none | |
  
 
== Preview ==
 
== Preview ==
Line 73: Line 94:
 
  IMPORTANT NOTICE: Do not edit a/o create the below dummy links.
 
  IMPORTANT NOTICE: Do not edit a/o create the below dummy links.
  
{{{preview|no preview available}}}
+
{{{preview}}}
 +
}}
 +
 
 +
----
  
 +
Uses [[Template:OOPM:Templates:Documentation:Shared:StandardTemplateHeader]]
 
</includeonly>
 
</includeonly>

Latest revision as of 17:21, 8 May 2009


Meta

Template Name Template:OOPM:Templates:Documentation:Shared:StandardTemplateHeader
Author Carsten Klein "rts" <carsten.klein@abstraxion.de>
Created 2009-04-08
Edited 2009-005-08

Purpose

Standardheader for inclusion with MediaWiki templates.

Synopsis

Template Usage:
<noinclude>
{{Template:OOPM:Templates:Documentation:Shared:StandardTemplateHeader
|author=<AuthorName>
|created=<Date>
|purpose=<WikiMarkup>
|synopsis=<Synopsis>
|parameters=<WikiMarkup>
|preview=<WikiMarkup>
}}
</noinclude>

Parameter Reference

  • author (should provide)
the author's name and provably also his or her email address, e.g. Foo Bar "foobar" <foobar@test.org>
  • created (should provide)
the date of initial creation in YYYY-MM-DD format
  • purpose (should provide)
a purpose statement
  • synopsis (should provide)
the usage synopsis, e.g. the actual template call omitting the surrounding double curly brackets
  • parameters (should provide)
a parameter reference where required
  • preview (optional)
an optional preview of the template

Preview

See this template.

Personal tools