Anonymous user
Template:Start date and age: Difference between revisions
Add optional parameter to display age within parentheses as is done in Template:Start date and years ago. Does not change output of any current transclusions. Previously implemented in /sandbox and tested in /testcases.
(Closed) |
(Add optional parameter to display age within parentheses as is done in Template:Start date and years ago. Does not change output of any current transclusions. Previously implemented in /sandbox and tested in /testcases.) |
||
Line 16:
-->|{{{1}}}<!--
-->}}<!--
--><span class="noprint">{{#ifeq:{{{paren|}}}|yes||;
-->{{#ifeq:{{{br|}}}|yes|
-->{{#ifeq:{{{paren|}}}|yes|(}}<!--
-->{{time ago<!--
-->|{{{1}}}<!--
Line 26 ⟶ 27:
-->|min_magnitude=days<!--
-->}}<!--
-->{{#ifeq:{{{paren|}}}|yes|)}}</span><!--
-->|'''{{color|red|Error: No parameters}}'''<!--
-->}}<!--
Line 45 ⟶ 46:
-->}}<!--
--></span>)</span></includeonly><noinclude>
{{being
{{documentation}}
</noinclude>
|