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

From Apache OpenOffice Wiki
Jump to: navigation, search
(made based on a uses statement)
Line 28: Line 28:
 
<noinclude>
 
<noinclude>
 
{{Template:OOPM:Templates:Documentation:Shared:StandardTemplateHeader:1.0
 
{{Template:OOPM:Templates:Documentation:Shared:StandardTemplateHeader:1.0
 +
|deprecated=true|false (optional)
 
|author=<AuthorName>
 
|author=<AuthorName>
 
|created=<Date>
 
|created=<Date>
Line 40: Line 41:
 
=== Parameter Reference ===
 
=== Parameter Reference ===
  
 +
* deprecated
 +
: when true, the template will display a *deprecated template notice* on the page that uses the template
 
* author
 
* author
 
: the author's name and provably also his or her email address, e.g. Foo Bar "foobar" <foobar@test.org>
 
: the author's name and provably also his or her email address, e.g. Foo Bar "foobar" <foobar@test.org>
Line 56: Line 59:
  
 
  IMPORTANT NOTICE: Do not edit nor create the below dummy links.
 
  IMPORTANT NOTICE: Do not edit nor create the below dummy links.
 +
 +
The template uses itself as a basis for its layout.
  
 
[[Category:OOPM:Templates:Documentation|Shared]]
 
[[Category:OOPM:Templates:Documentation|Shared]]
Line 63: Line 68:
 
<includeonly>
 
<includeonly>
 
__NOEDITSECTION__
 
__NOEDITSECTION__
 +
 +
{{#ifeq: {{{deprecated}}} == true |
 +
<pre>
 +
This version of the template is deprecated. Please use the latest version of this template, if available.
 +
See the template for more information on what template will replace the template being used.
 +
</pre>
 +
|}}
 +
 
== Meta ==
 
== Meta ==
  

Revision as of 19:50, 9 April 2009


Meta

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

Purpose

Standardheader for inclusion with MediaWiki templates.

Synopsis

Template Usage:
<noinclude>
{{Template:OOPM:Templates:Documentation:Shared:StandardTemplateHeader:1.0
|deprecated=true|false (optional)
|author=<AuthorName>
|created=<Date>
|purpose=<WikiMarkup>
|synopsis=<Synopsis>
|parameters=<WikiMarkup>
|preview=<WikiMarkup>
}}
</noinclude>

Parameter Reference

  • deprecated
when true, the template will display a *deprecated template notice* on the page that uses the template
  • author
the author's name and provably also his or her email address, e.g. Foo Bar "foobar" <foobar@test.org>
  • created
the date of initial creation in YYYY-MM-DD format
  • purpose
a purpose statement
  • synopsis
the usage synopsis, e.g. the actual template call omitting the surrounding double curly brackets
  • parameters
a parameter reference where required
  • preview
an optional preview of the template

Preview

IMPORTANT NOTICE: Do not edit nor create the below dummy links.

The template uses itself as a basis for its layout.

Personal tools