Created page with "<includeonly> {{#cargo_declare: _table=Terms |English_term=String |Domain=String |French_term=String |German_term=String |Arabic_explanation=Text |English_explanation=Text |Main_image=File }} {{#cargo_store: _table=Terms |English_term={{{english_term|}}} |Domain={{{domain|}}} |French_term={{{french_term|}}} |German_term={{{german_term|}}} |Arabic_explanation={{{arabic_explanation|}}} |English_explanation={{{english_explanation|}}} |Main_image={{{main_image|}}} }} Categ..."
 
Store arabic_term in Cargo (field was declared but never stored)
 
(20 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<noinclude>
{{#cargo_declare:
{{#cargo_declare:
_table=Terms
_table=Terms
|English_term=String
|English_term=String
|Domain=String
|Domain=String
|Arabic_term=String
|French_term=String
|French_term=String
|German_term=String
|German_term=String
|Arabic_explanation=Text
|Arabic_explanation=Wikitext
|English_explanation=Text
|English_explanation=Text
|Main_image=File
|Main_image=File
}}
}}</noinclude><includeonly>{{#cargo_store:
{{#cargo_store:
_table=Terms
_table=Terms
|English_term={{{english_term|}}}
|English_term={{{english_term|}}}
|Domain={{{domain|}}}
|Domain={{{domain|}}}
|Arabic_term={{{arabic_term|}}}
|French_term={{{french_term|}}}
|French_term={{{french_term|}}}
|German_term={{{german_term|}}}
|German_term={{{german_term|}}}
Line 19: Line 20:
|English_explanation={{{english_explanation|}}}
|English_explanation={{{english_explanation|}}}
|Main_image={{{main_image|}}}
|Main_image={{{main_image|}}}
}}
}}[[Category:{{{domain|}}}]]{{#if:{{{main_image|}}}|<div class="term-image">[[File:{{{main_image|}}}|left|thumb|300px]]</div>}}{{#if:{{{domain|}}}|<p><strong>Domain:</strong> {{{domain|}}}</p>}}{{#if:{{{french_term|}}}|<p><strong>FR:</strong> {{{french_term|}}}</p>}}{{#if:{{{german_term|}}}|<p><strong>DE:</strong> {{{german_term|}}}</p>}}{{#if:{{{arabic_term|}}}|<div dir="rtl"><h3 dir="rtl">{{{arabic_term|}}}</h3>{{#if:{{{arabic_explanation|}}}|<p class="arabic-explanation" dir="rtl">{{{arabic_explanation|}}}</p>}}</div>}}{{#if:{{{english_explanation|}}}|<h3>English Definition</h3>
[[Category:{{{domain|}}}]]
<p>{{{english_explanation|}}}</p>}}
[[Category:Terms]]
 
<!-- Display the term content here -->
<div class="term-definition">
... your term display template ...
</div>
</includeonly>
</includeonly>
<noinclude>
This template stores term data in Cargo and displays term definitions.
</noinclude>

Latest revision as of 21:16, 28 October 2026

This template defines the table "Terms". View table.