Template:Funding: Difference between revisions
No edit summary |
(new format) |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
{{#template_params:FundingName (label=Name)|Funder (label=Funding Organization)|Amount|Purpose|Details}} | {{#template_params:FundingName (label=Name) | ||
{{#cargo_declare:_table=Funding|FundingName=Page|Funder=Page|Amount=Integer|Purpose=Wikitext|Details=Wikitext}} | |Funder (label=Funding Organization) | ||
|Amount | |||
|Purpose | |||
|Details | |||
}} | |||
{{#cargo_declare:_table=Funding | |||
|FundingName=Page | |||
|Funder=Page | |||
|Amount=Integer | |||
|Purpose=Wikitext | |||
|Details=Wikitext | |||
}} | |||
</noinclude><includeonly>{{#cargo_store:_table=Funding}} | </noinclude><includeonly>{{#cargo_store:_table=Funding}} | ||
{{# | </includeonly><noinclude> | ||
==Table details== | |||
</noinclude> | |||
{| class="wikitable" border="1" style="float:right; width:300px" | |||
| style="text-align: center; background-color:#f7f781;" colspan="2" | '''{{PAGENAME}}''' | |||
|- | |||
| style="background:#FFEBAD; color:arsenic" align="right" | '''Funding Organization: ''' | |||
| {{#if:{{{Funder|}}}|[[{{{Funder|}}}]]}} | |||
|- | |||
| style="background:#FFEBAD; color:arsenic" align="right" | '''Amount: ''' | |||
| {{#if:{{{Amount|}}}|[[{{{Amount|}}}]]}} | |||
|}<noinclude> | |||
==Lead section== | |||
</noinclude>'''{{PAGENAME}}''' was funded by [[{{{Funder|}}}]] for the amount of {{{Amount|}}}. | |||
<h2>Purpose</h2> | |||
{{#cargo_query: | |||
tables=Organization | |||
|fields=Purpose | |||
|where=_pageName = "{{PAGENAME}}" | |||
|format=list | |||
}} | |||
<h2>Details</h2> | |||
{{#cargo_query: | |||
tables=Organization | |||
|fields=Details | |||
|where=_pageName = "{{PAGENAME}}" | |||
|format=list | |||
}} | |||
[[Category:Funding]] | [[Category:Funding]] | ||
</includeonly> | </includeonly> |
Revision as of 23:56, 14 November 2024
This is the "Funding" template.
It should be called in the following format:
{{Funding |FundingName= |Funder= |Amount= |Purpose= |Details= }}
Edit the page to see the template text.
This template defines the table "Funding". View table.
Table details
Funding | |
Funding Organization: | |
Amount: |
Lead section
Funding was funded by [[]] for the amount of .
Purpose
Error: No field named "Purpose" found for any of the specified database tables.
Details
Error: No field named "Details" found for any of the specified database tables.
</includeonly>