Difference between revisions of "Template:Infobox document"
Jump to navigation
Jump to search
imported>RGloucester (better) |
(Don't need the distracting brackets: the number of authors (plural) can be one (singular). Next field already uses plural anyway (Signatories).) |
||
| Line 1: | Line 1: | ||
{{Infobox | {{Infobox | ||
| − | | abovestyle | + | | abovestyle = text-align:center; |
| − | | above | + | | above = {{{document_name|{{{name|}}}}}} |
| − | | image | + | | image = {{#invoke:InfoboxImage |InfoboxImage |
| − | | caption | + | | image = {{{Image|{{{image|{{{image_name|}}}}}}}}} |
| + | | size = {{{Image size|{{{image_size|}}}}}} | ||
| + | | sizedefault=frameless | upright=1 |alt={{{image_alt|}}} | ||
| + | }} | ||
| + | | caption = {{{caption|{{{image_caption|}}}}}} | ||
| label1 = Created | | label1 = Created | ||
| Line 11: | Line 15: | ||
| label3 = [[Effective date|Date effective]] | | label3 = [[Effective date|Date effective]] | ||
| data3 = {{{date_effective|}}} | | data3 = {{{date_effective|}}} | ||
| − | | label4 = [[Repeal | + | | label4 = [[Repeal]]ed |
| data4 = {{{date_repeal|}}} | | data4 = {{{date_repeal|}}} | ||
| label5 = Location | | label5 = Location | ||
| data5 = {{{location_of_document|}}} | | data5 = {{{location_of_document|}}} | ||
| − | | label6 = | + | | label6 = Authors |
| − | | data6 = {{{writer|}}} | + | | data6 = {{{writers|{{{writer|}}}}}} |
| label7 = Signatories | | label7 = Signatories | ||
| data7 = {{{signers|}}} | | data7 = {{{signers|}}} | ||
| label8 = Purpose | | label8 = Purpose | ||
| data8 = {{{purpose|}}} | | data8 = {{{purpose|}}} | ||
| + | |||
}}<noinclude> | }}<noinclude> | ||
| − | {{ | + | {{Documentation}} |
</noinclude> | </noinclude> | ||
Revision as of 13:38, 24 February 2015
[[Category:Infobox templates|Template:Remove first word]]
File:Test Template Info-Icon - Version (2).svg Template documentation[view] [edit] [history] [purge]
| 30px | This template uses Lua: |
Usage
Template:Parameter names example
{{Infobox document
| document_name =
| image =
| image_size =
| image_alt =
| caption =
| image2 =
| image2_size =
| image2_alt =
| caption2 =
| orig_lang_code =
| title_orig =
| date_created =
| date_presented =
| date_ratified =
| date_effective =
| date_repeal =
| location_of_document =
| commissioned =
| writer =
| signers =
| media_type =
| subject =
| purpose =
}}
Parameters
- Required
- document_name — Name of the document
All other parameters are optional.
| The above documentation is transcluded from Template:Infobox document/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |