Difference between revisions of "Template:OOPM:Templates:Documentation:Shared:StandardDeprecationNotice"
From Apache OpenOffice Wiki
(11 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
− | {{Template:OOPM:Templates:Documentation:Shared:StandardTemplateHeader | + | {{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/> | ||
− | |||
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= | ||
− | + | Template:OOPM:Templates:Documentation:Shared:StandardDeprecationNotice | |
|template=<WikiUrn> | |template=<WikiUrn> | ||
|alternate=<WikiUrn>> | |alternate=<WikiUrn>> | ||
|parameters= | |parameters= | ||
* template | * template | ||
− | : The | + | : The urn of the template. This will be used for display in for example the deprecation notice. |
− | * alternate | + | : 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= | |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> | ||
}} | }} | ||
− | |||
− | <includeonly> | + | [[Category:OOPM:Templates:Documentation|Shared]] |
− | <div style="border: 2px solid | + | </noinclude><includeonly> |
− | + | <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;"> | |
− | {{#ifeq: {{{alternate}}} | | | Please use the provided alternative | + | '''DEPRECATION NOTICE''' [[{{{origin}}}]] has been deprecated. |
+ | {{#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