Difference between revisions of "Template:OOPM:Templates:Documentation:Shared:StandardDeprecationNotice"
From Apache OpenOffice Wiki
Line 5: | Line 5: | ||
|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. | ||
Line 12: | Line 11: | ||
<pre> | <pre> | ||
{{Template:OOPM:Templates:Documentation:Shared:StandardDeprecationNotice:1.0 | {{Template:OOPM:Templates:Documentation:Shared:StandardDeprecationNotice:1.0 | ||
− | | | + | |origin=<WikiUrn> |
|alternate=<WikiUrn> | |alternate=<WikiUrn> | ||
+ | |message=<WikiMarkup> | ||
}} | }} | ||
</pre> | </pre> | ||
Line 29: | Line 29: | ||
: E.g. Template:OOPM:Templates:Documentation:Shared:CategoryPageHeader:1.1 | : E.g. Template:OOPM:Templates:Documentation:Shared:CategoryPageHeader: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;"> | |
+ | '''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 | + | <div style="border: 2px solid black; background-color: yellow; font-size: 12pt; font-weight: bold; width: 80%; margin: auto; padding: 16px; margin-bottom: 2em;"> |
− | + | '''DEPRECATION NOTICE''' [[{{{origin}}}]] has been deprecated. | |
− | {{#ifeq: {{{alternate}}} | | | Please use the provided alternative | + | {{#ifeq: {{{alternate}}} | | | Please use the provided alternative [[{{{alternate}}}]].}} |
</div> | </div> | ||
</includeonly> | </includeonly> |
Revision as of 23:11, 16 April 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: 04 < 10 | 004 | 04 }}-16 |
Purpose
Used for template/article deprecation notices.
This template should be included with any template/article that is considered deprecated. Use the following wiki markup to include it with your template
{{Template:OOPM:Templates:Documentation:Shared:StandardDeprecationNotice:1.0 |origin=<WikiUrn> |alternate=<WikiUrn> |message=<WikiMarkup> }}
Synopsis
{{#ifeq: Templates:OOPM:Templates:Documentation:Shared:StandardDeprecationNotice:1.0 |template=<WikiUrn> |alternate=<WikiUrn>> | none | no synopsis available |{{Templates:OOPM:Templates:Documentation:Shared:StandardDeprecationNotice:1.0 |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. Template:OOPM:Templates:Documentation:Shared:CategoryPageHeader: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. Template:OOPM:Templates:Documentation:Shared:CategoryPageHeader: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