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

From Apache OpenOffice Wiki
Jump to: navigation, search
 
(8 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
 
|purpose=
 
|purpose=
 
Used for template/article deprecation notices.<br/>
 
Used for template/article deprecation notices.<br/>
'''IMPORTANT NOTICE: Please note that in order to prevent infinite recursion, this template must never be deprecated.'''
 
  
 
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.
Use the following wiki markup to include it with your template
 
 
<pre>
 
{{Template:OOPM:Templates:Documentation:Shared:StandardDeprecationNotice:1.0
 
|template=<WikiUrn>
 
|alternate=<WikiUrn>
 
}}
 
</pre>
 
 
|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>>
Line 23: Line 14:
 
* 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=
TBD preview
+
<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.
 +
Please use the provided alternative <nowiki>[[BarsFooNeverWentTo]]</nowiki>.
 +
</div>
 
}}
 
}}
  
 
[[Category:OOPM:Templates:Documentation|Shared]]
 
[[Category:OOPM:Templates:Documentation|Shared]]
 
</noinclude><includeonly>
 
</noinclude><includeonly>
<div style="border: 2px solid red; background-color: white; font-size: 12pt; font-weight: bold; width: 90%; margin: auto; padding: 32px; 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;">
The template [[{{{template}}}]] has been deprecated.
+
'''DEPRECATION NOTICE''' [[{{{origin}}}]] has been deprecated.
{{#ifeq: {{{alternate}}} | | | Please use the provided alternative template [[{{{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-005-08

Purpose

Used for template/article deprecation notices.

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

Synopsis

{{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

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