No edit summary
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 2: Line 2:
{{#template_params:
{{#template_params:
Body
Body
|Description (label=Description)
|URL (label=Source URL)
|URL (label=Source URL)
|Subject (label=Category/Subject)
|Subject (label=Category/Subject)
Line 9: Line 10:
|Tags (label=Tags)
|Tags (label=Tags)
|Media_URL (label=Media URL)
|Media_URL (label=Media URL)
|Image_Caption (label=Image Caption)
|File (label=File)
|File (label=File)
}}
}}
{{#cargo_declare:
{{#cargo_declare:
_table=Articles
_table=Articles
|Description=Text
|Body=Text
|Body=Text
|URL=URL
|URL=URL
Line 22: Line 25:
|Media_URL=URL
|Media_URL=URL
|File=File
|File=File
|Image_Caption=Text
}}
}}
</noinclude>
</noinclude>
Line 28: Line 32:


{{{Body|}}}
{{{Body|}}}
===File===
{{#if:{{{File|}}}|[[File:{{{File|}}}|800px|center]]|}}


{{#arraydefine:subjects| {{{Subject|}}} }}
{{#arraydefine:subjects| {{{Subject|}}} }}
Line 39: Line 40:


{{#arraydefine:sdgs| {{{SDG|}}} }}
{{#arraydefine:sdgs| {{{SDG|}}} }}
{{#arraymap:{{{SDG|}}}|,|x|[[x]]|\s}}
===Media URL===
{{#if:{{{Media_URL|}}}|{{#evu:{{{Media_URL|}}}}}|}}


===Source URL===
{{{URL|}}}


[[Category:Articles]]
[[Category:Articles]]

Latest revision as of 06:45, 13 September 2023

This is the "PostForm" template.

It should be called in the following format:

{{PostForm
|Body=
|Description=
|URL=
|Subject=
|Country=
|Region=
|SDG=
|Tags=
|Media_URL=
|Image_Caption=
|File=
}}

Edit the page to see the template text.

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