Difference between revisions of "Template:OOPM:Templates:Documentation:Shared:StandardTemplateHeader"
From Apache OpenOffice Wiki
(initial version of the standard template header template) |
(made this template a non versioned template) |
||
(49 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
__NOEDITSECTION__ | __NOEDITSECTION__ | ||
− | |||
== Meta == | == Meta == | ||
Line 9: | Line 8: | ||
|- | |- | ||
|'''Author''' | |'''Author''' | ||
− | | | + | |Carsten Klein "rts" <carsten.klein@abstraxion.de> |
|- | |- | ||
|'''Created''' | |'''Created''' | ||
− | | | + | |2009-04-08 |
|- | |- | ||
|'''Edited''' | |'''Edited''' | ||
|{{REVISIONYEAR}}-{{#if: {{REVISIONMONTH}} < 10 | 0{{REVISIONMONTH}} | {{REVISIONMONTH}} }}-{{REVISIONDAY2}} | |{{REVISIONYEAR}}-{{#if: {{REVISIONMONTH}} < 10 | 0{{REVISIONMONTH}} | {{REVISIONMONTH}} }}-{{REVISIONDAY2}} | ||
|} | |} | ||
− | |||
== Purpose == | == Purpose == | ||
− | Standardheader for inclusion with | + | Standardheader for inclusion with MediaWiki templates. |
== Synopsis == | == Synopsis == | ||
Line 27: | Line 25: | ||
<pre> | <pre> | ||
Template Usage: | Template Usage: | ||
− | + | <noinclude> | |
− | + | {{Template:OOPM:Templates:Documentation:Shared:StandardTemplateHeader | |
− | + | |author=<AuthorName> | |
− | + | |created=<Date> | |
− | + | |purpose=<WikiMarkup> | |
− | + | |synopsis=<Synopsis> | |
− | + | |parameters=<WikiMarkup> | |
− | + | |preview=<WikiMarkup> | |
− | + | }} | |
− | + | </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 == | ||
− | + | See this template. | |
− | </noinclude> | + | [[Category:OOPM:Templates:Documentation|Shared]]</noinclude><includeonly> |
+ | __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 64: | Line 80: | ||
== Synopsis == | == Synopsis == | ||
− | + | {{#ifeq: {{{synopsis|none}}} | none | no synopsis available | |
− | {{{synopsis|no synopsis | + | |{{{{{synopsis}}}<br />}} |
− | </ | + | }} |
=== Parameter Reference === | === Parameter Reference === | ||
{{{parameters|no parameter reference available}}} | {{{parameters|no parameter reference available}}} | ||
+ | |||
+ | {{#ifeq: {{{preview|none}}} | none | | | ||
== Preview == | == Preview == | ||
Line 76: | 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 | + | {{{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-{{#if: 05 < 10 | 005 | 05 }}-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.