Difference between revisions of "Template:Changed in"

From Inkscape Wiki
Jump to navigation Jump to search
(Add derived templates)
(Add abbreviation for "text" param)
 
Line 1: Line 1:
<sup><abbr title="This feature was {{{text|changed}}} in {{{program|Inkscape}}} {{{1|unknown version}}}.&#010;{{{details|}}}">{{{text|changed}}} {{{1|unknown version}}}</abbr></sup><noinclude>
<sup><abbr title="This feature was {{{text|changed}}} in {{{program|Inkscape}}} {{{1|unknown version}}}.&#010;{{{details|}}}">{{{text_abbr|{{{text|changed}}}}}}&nbsp;{{{1|unknown version}}}</abbr></sup><noinclude>


<hr>
<hr>
Line 18: Line 18:
|-
|-
| <code>text</code> || Short text to display for what happened to the feature (default: "changed")
| <code>text</code> || Short text to display for what happened to the feature (default: "changed")
|-
| <code>text_abbr</code> || Even shorter text to display for what happened to the feature (defaults to value of <code>text</code>)
|-
|-
| <code>program</code> || Affected program (default: "Inkscape")
| <code>program</code> || Affected program (default: "Inkscape")
Line 33: Line 35:
|-
|-
| <code><nowiki>{{changed in|1.2.3|text=removed in}}</nowiki></code> || {{changed in|1.2.3|text=removed}}
| <code><nowiki>{{changed in|1.2.3|text=removed in}}</nowiki></code> || {{changed in|1.2.3|text=removed}}
|-
| <code><nowiki>{{changed in|1.2.3|text=removed in|text_abbr=rem.}}</nowiki></code> || {{changed in|1.2.3|text=removed|text_abbr=rem.}}
|-
|-
| <code><nowiki>{{changed in|1.2.3|program=Inkview}}</nowiki></code> || {{changed in|1.2.3|program=Inkview}}
| <code><nowiki>{{changed in|1.2.3|program=Inkview}}</nowiki></code> || {{changed in|1.2.3|program=Inkview}}

Latest revision as of 16:36, 21 March 2021

changed unknown version


Template Documentation

Allows to add a visual hint explaining in which version of Inkscape a feature has changed.

For example: Use great featurechanged 1.2.3 for your work.

Parameters

Parameter ! Explanation
1 program version in which the feature changed (required)
text Short text to display for what happened to the feature (default: "changed")
text_abbr Even shorter text to display for what happened to the feature (defaults to value of text)
program Affected program (default: "Inkscape")
details Additional info to include into the tooltip

Examples

Wiki text Result
{{changed in|1.2.3}} changed 1.2.3
{{changed in|1.2.3|text=removed in}} removed 1.2.3
{{changed in|1.2.3|text=removed in|text_abbr=rem.}} rem. 1.2.3
{{changed in|1.2.3|program=Inkview}} changed 1.2.3
{{changed in|1.2.3|details=The feature should not be used anymore.}} changed 1.2.3

See also

The following are convenience templates which call this one with suitable parameters: