Template:Funding: Difference between revisions

includeonly
(new format)
(includeonly)
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
{{#template_params:FundingName (label=Name)
{{#template_params:
FundingName (label=Name)
|Funder (label=Funding Organization)
|Funder (label=Funding Organization)
|Amount
|Amount
Line 6: Line 7:
|Details
|Details
}}
}}
==Cargo declaration==
{{#cargo_declare:_table=Funding
{{#cargo_declare:_table=Funding
|FundingName=Page
|FundingName=Page
Line 31: Line 33:
<h2>Purpose</h2>
<h2>Purpose</h2>
{{#cargo_query:
{{#cargo_query:
tables=Organization
tables=Funding
|fields=Purpose
|fields=Purpose
|where=_pageName = "{{PAGENAME}}"
|where=_pageName = "{{PAGENAME}}"
Line 38: Line 40:


<h2>Details</h2>
<h2>Details</h2>
''<small>{{#ifexist:{{PAGENAME}}/Details|Edit at [[{{PAGENAME}}/Details]]|Copy contents to [[{{PAGENAME}}/Details]] and put <nowiki>{{:PAGENAME/Details}}</nowiki> in the form's details field.}}</small>''
{{#cargo_query:
{{#cargo_query:
tables=Organization
tables=Funding
|fields=Details
|fields=Details
|where=_pageName = "{{PAGENAME}}"
|where=_pageName = "{{PAGENAME}}"
|format=list
|format=list
}}
}}
<includeonly>
[[Category:Funding]]
[[Category:Funding]]
</includeonly>
</includeonly>