Template:Term: Difference between revisions
removes empty html if data for it doesn't exist |
No edit summary Tag: Reverted |
||
| Line 1: | Line 1: | ||
<noinclude> | <noinclude>{{#cargo_declare: | ||
{{#cargo_declare: | |||
_table=Terms | _table=Terms | ||
|English_term=String | |English_term=String | ||
| Line 10: | Line 9: | ||
|English_explanation=Text | |English_explanation=Text | ||
|Main_image=File | |Main_image=File | ||
}} | }}</noinclude><includeonly>{{#cargo_store: | ||
</noinclude> | |||
<includeonly>{{#cargo_store: | |||
_table=Terms | _table=Terms | ||
|English_term={{{english_term|}}} | |English_term={{{english_term|}}} | ||
| Line 21: | Line 18: | ||
|English_explanation={{{english_explanation|}}} | |English_explanation={{{english_explanation|}}} | ||
|Main_image={{{main_image|}}} | |Main_image={{{main_image|}}} | ||
}} [[Category:{{{domain|}}}]] | }}[[Category:{{{domain|}}}]] | ||
{{#if:{{{main_image|}}}|<div class="term-image">[[File:{{{main_image|}}}|left|thumb|300px]]</div>}} | {{#if:{{{main_image|}}}|<div class="term-image">[[File:{{{main_image|}}}|left|thumb|300px]]</div>}} | ||
{{#if:{{{domain|}}}|<p><strong>Domain:</strong> {{{domain|}}}</p>}} | {{#if:{{{domain|}}}|<p><strong>Domain:</strong> {{{domain|}}}</p>}} | ||
{{#if:{{{french_term|}}}|<p><strong>FR:</strong> {{{french_term|}}}</p>}} | {{#if:{{{french_term|}}}|<p><strong>FR:</strong> {{{french_term|}}}</p>}} | ||
{{#if:{{{german_term|}}}|<p><strong>GR:</strong> {{{german_term|}}}</p>}} | {{#if:{{{german_term|}}}|<p><strong>GR:</strong> {{{german_term|}}}</p>}} | ||
{{#if:{{{arabic_term|}}}|<div dir="rtl"> | {{#if:{{{arabic_term|}}}|<div dir="rtl"><h3 dir="rtl">{{{arabic_term|}}}</h3>{{#if:{{{arabic_explanation|}}}|<p dir="rtl">{{{arabic_explanation|}}}</p>}}</div>}} | ||
<h3 dir="rtl">{{{arabic_term|}}}</h3> | {{#if:{{{english_explanation|}}}|<h3>English Definition</h3><p>{{{english_explanation|}}}</p>}}</includeonly> | ||
{{#if:{{{arabic_explanation|}}}|<p dir="rtl">{{{arabic_explanation|}}}</p>}} | |||
</div>}} | |||
{{#if:{{{english_explanation|}}}|<h3>English Definition</h3> | |||
<p>{{{english_explanation|}}}</p>}} | |||
</includeonly> | |||
Revision as of 18:19, 7 August 2025
This template defines the table "Terms". View table.