Template

Resource: Difference between revisions

(Created page with "<noinclude> This is the "Item" template. It should be called in the following format: <pre> {{Item |Type= |Author= |Title= |Publication= |Date= |URL= |Saved= |Download= |Abstr...")
 
No edit summary
Line 17: Line 17:
Edit the page to see the template text.
Edit the page to see the template text.
{{#cargo_declare:_table=Items|Type=String|Author=List (;) of String|Title=String|Publication=String|Date=Date|URL=URL|Saved=Boolean|Download=File|Abstract=Text}}
{{#cargo_declare:_table=Items|Type=String|Author=List (;) of String|Title=String|Publication=String|Date=Date|URL=URL|Saved=Boolean|Download=File|Abstract=Text}}
</noinclude><includeonly>{{#cargo_store:_table=Items|Type={{{Type|}}}|Author={{{Author|}}}|Title={{{Title|}}}|Publication={{{Publication|}}}|Date={{{Date|}}}|URL={{{URL|}}}|Saved={{{Saved|}}}|Download={{{Download|}}}|Abstract={{{Abstract|}}} }}{| class="wikitable"
</noinclude><includeonly>{{#cargo_store:_table=Items|Type={{{Type|}}}|Author={{{Author|}}}|Title={{{Title|}}}|Publication={{{Publication|}}}|Date={{{Date|}}}|URL={{{URL|}}}|Saved={{{Saved|}}}|Download={{{Download|}}}|Abstract={{{Abstract|}}} }}{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
! style="text-align: center; background-color:#ccccff;" colspan="2" |<span style="font-size: larger;">{{PAGENAME}}</span>
|-
! Type
! Type
| {{{Type|}}}
| {{{Type|}}}

Revision as of 23:47, 23 November 2018

This is the "Item" template. It should be called in the following format:

{{Item
|Type=
|Author=
|Title=
|Publication=
|Date=
|URL=
|Saved=
|Download=
|Abstract=
}}

Edit the page to see the template text. This template defines the table "Items". This table has not been created yet.