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

From Apache OpenOffice Wiki
Jump to: navigation, search
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
{{Template:OOPM:Templates:Documentation:Shared:StandardTemplateHeader:1.0
+
{{Template:OOPM:Templates:Documentation:Shared:StandardTemplateHeader
 
|author=Carsten Klein "rts" <carsten.klein@abstraxion.de>
 
|author=Carsten Klein "rts" <carsten.klein@abstraxion.de>
 
|created=2009-04-09
 
|created=2009-04-09
Line 8: Line 8:
 
This template should be included with any template/article that is considered deprecated.
 
This template should be included with any template/article that is considered deprecated.
 
|synopsis=
 
|synopsis=
Templates:OOPM:Templates:Documentation:Shared:StandardDeprecationNotice:1.0
+
Template:OOPM:Templates:Documentation:Shared:StandardDeprecationNotice
&#124;template=<WikiUrn>
+
&#124;template=<WikiUrn>
&#124;alternate=<WikiUrn>>
+
&#124;alternate=<WikiUrn>>
 
|parameters=
 
|parameters=
 
* template
 
* template
 
: The urn of the template. This will be used for display in for example the deprecation notice.
 
: The urn of the template. This will be used for display in for example the deprecation notice.
: E.g. Template:OOPM:Templates:Documentation:Shared:CategoryPageHeader:1.0
+
: E.g. FooBar:1.0
 
* alternate (optional)
 
* alternate (optional)
 
: The urn of the alternative template to be used instead. This will be used for display in
 
: The urn of the alternative template to be used instead. This will be used for display in
 
: the deprecation notice.
 
: the deprecation notice.
: E.g. Template:OOPM:Templates:Documentation:Shared:CategoryPageHeader:1.1
+
: E.g. FooBar:1.1
 
|preview=
 
|preview=
<div style="border: 2px solid black; background-color: yellow; font-size: 12pt; font-weight: bold; width: 80%; margin: auto; padding: 16px; margin-bottom: 2em;">
+
<div style="border: 2px solid black; background-color: yellow; font-size: 12pt; font-weight: bold; width: 80%; margin: auto; padding: 16px; margin-top: 2em; margin-bottom: 2em;">
 
'''DEPRECATION NOTICE''' FooBar has been deprecated.
 
'''DEPRECATION NOTICE''' FooBar has been deprecated.
 
Please use the provided alternative <nowiki>[[BarsFooNeverWentTo]]</nowiki>.
 
Please use the provided alternative <nowiki>[[BarsFooNeverWentTo]]</nowiki>.
Line 28: Line 28:
 
[[Category:OOPM:Templates:Documentation|Shared]]
 
[[Category:OOPM:Templates:Documentation|Shared]]
 
</noinclude><includeonly>
 
</noinclude><includeonly>
<div style="border: 2px solid black; background-color: yellow; font-size: 12pt; font-weight: bold; width: 80%; margin: auto; padding: 16px; margin-bottom: 2em;">
+
<div style="border: 2px solid black; background-color: yellow; font-size: 12pt; font-weight: bold; width: 80%; margin: auto; padding: 16px; margin-top: 2em; margin-bottom: 2em;">
 
'''DEPRECATION NOTICE''' [[{{{origin}}}]] has been deprecated.
 
'''DEPRECATION NOTICE''' [[{{{origin}}}]] has been deprecated.
{{#ifeq: {{{alternate}}} | | | Please use the provided alternative [[{{{alternate}}}]].}}
+
{{#ifeq: {{{alternate}}} | | | Please use/see the provided alternative [[{{{alternate}}}]].}}
 
</div>
 
</div>
 
</includeonly>
 
</includeonly>

Latest revision as of 16:54, 8 May 2009


Meta

Template Name Template:OOPM:Templates:Documentation:Shared:StandardDeprecationNotice
Author Carsten Klein "rts" <carsten.klein@abstraxion.de>
Created 2009-04-09
Edited 2009-{{#if: 05 < 10 | 005 | 05 }}-08

Purpose

Used for template/article deprecation notices.

This template should be included with any template/article that is considered deprecated.

Synopsis

{{#ifeq: Template:OOPM:Templates:Documentation:Shared:StandardDeprecationNotice
|template=<WikiUrn>
|alternate=<WikiUrn>> | none | no synopsis available
|{{Template:OOPM:Templates:Documentation:Shared:StandardDeprecationNotice
|template=<WikiUrn>
|alternate=<WikiUrn>>
}} }}

Parameter Reference

  • template
The urn of the template. This will be used for display in for example the deprecation notice.
E.g. FooBar:1.0
  • alternate (optional)
The urn of the alternative template to be used instead. This will be used for display in
the deprecation notice.
E.g. FooBar:1.1

{{#ifeq:

DEPRECATION NOTICE FooBar has been deprecated. Please use the provided alternative [[BarsFooNeverWentTo]].

| none | |

Preview

IMPORTANT NOTICE: Do not edit a/o create the below dummy links.

DEPRECATION NOTICE FooBar has been deprecated. Please use the provided alternative [[BarsFooNeverWentTo]].

}}


Uses Template:OOPM:Templates:Documentation:Shared:StandardTemplateHeader

Personal tools