(change Region list type to Page) |
(test: adding table with values) |
||
Line 9: | Line 9: | ||
_table=Articles2 | _table=Articles2 | ||
|Body=Text | |Body=Text | ||
|URL=URL | |URL=URL (link text=) | ||
|Subject=List (,) of String (allowed values=UNESCO,festival,music,dance,food,technical,skills,hunting,acrobatic,rituals) | |Subject=List (,) of String (allowed values=UNESCO,festival,music,dance,food,technical,skills,hunting,acrobatic,rituals) | ||
|Region=List (,) of Page (hierarchy;allowed values=* Africa | |Region=List (,) of Page (hierarchy;allowed values=* Africa | ||
Line 279: | Line 279: | ||
*** Tuvalu | *** Tuvalu | ||
)}} | )}} | ||
</noinclude><includeonly>{{#cargo_store:_table=Articles2}} | </noinclude> | ||
<includeonly> | |||
{{#cargo_store:_table=Articles2}} | |||
{{#template_display:_format=sections}} | {{#template_display:_format=sections}} | ||
{| border="0" cellpadding="4" cellspacing="4" style="margin-bottom: 5px;" | |||
! URL | |||
| {{{url|}}} | |||
|- | |||
! Subject(s) | |||
| {{#arraymap:{{{Subject|}}}|,|x|{{#formredlink:target=x|form=Subject/Category|}}}} | |||
|- | |||
! Region | |||
| {{#formredlink:target={{{source|}}}|alt_form[0]=Source|alt_form[1]=Magazine|alt_form[2]=Online magazine}} | |||
|- | |||
! Regionarray | |||
| {{#arraymap:{{{Region|}}}|,|x|{{#formredlink:target=x|form=Region/Country|}}}} | |||
|- | |||
|} | |||
[[Category:Articles2]] | [[Category:Articles2]] | ||
</includeonly> | </includeonly> |
Revision as of 13:34, 24 August 2021
This is the "PostForm" template.
It should be called in the following format:
{{PostForm |Body= |URL= |Subject= |Region= }}
Edit the page to see the template text.
This template defines the table "Articles2". This table has not been created yet.