Template:CTD periodical: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 119: Line 119:
<div style="white-space: pre-wrap;">{{{description|}}}</div>
<div style="white-space: pre-wrap;">{{{description|}}}</div>
{{#set: CTD term origin={{{origin|}}}|CTD term description={{{description|}}}}}
{{#set: CTD term origin={{{origin|}}}|CTD term description={{{description|}}}}}
{{#if: {{{short description|}}}
|<p style="font-weight: bold; text-indent: 0; margin-top: 1em;">{{tip|Shortly|Short text for popup hints and footnotes; main meaning in several words.}}:</p>{{{short description}}} {{#set: CTD term short description={{{short description|}}}}}
| {{#set: CTD term short description={{#sub:{{{description|}}}|0|100}}{{#ifexpr: {{#len:{{{description|}}}}} > 100 |...}}}}
}}


{{#if: {{{related terms|}}}| <hr>
{{#if: {{{related terms|}}}| <hr>
Line 148: Line 144:
<p style="text-indent: 5px; font-size: 80%;">'''TERM DATA'''</p>
<p style="text-indent: 5px; font-size: 80%;">'''TERM DATA'''</p>
<p style="text-indent: 5px;">To show: <b>{{#var:title to show}}</b>; Full sortable: <b>{{{title|}}}</b></p>
<p style="text-indent: 5px;">To show: <b>{{#var:title to show}}</b>; Full sortable: <b>{{{title|}}}</b></p>
<p style="text-indent: 5px;">{{tip|Short description|for popup hints and footnotes}}: <b>{{#if: {{{short description|}}}
| [[CTD term short description::{{{short description}}}]]
| [[CTD term short description::{{#sub:{{{description|}}}|0|100}}{{#ifexpr: {{#len:{{{description|}}}}} > 100 |...}}]]
}}</b></p>
</div>
</div>