Difference between revisions of "Template:Infobox document"
Jump to navigation
Jump to search
imported>Gonnym (changed to correct usage. Template:Lang already handles correct italics for languages.) |
imported>Shkuru Afshar |
||
| Line 1: | Line 1: | ||
{{Infobox | {{Infobox | ||
| abovestyle = text-align:center; | | abovestyle = text-align:center; | ||
| − | | above = {{{document_name|{{{name|}}}}}} | + | | above = {{{document_name|{{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}}}} |
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{Image|{{{image|{{{image_name|}}}}}}}}}|size={{{Image size|{{{image_size|}}}}}}|sizedefault=frameless|upright=1|alt={{{image_alt|}}}}} | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{Image|{{{image|{{{image_name|}}}}}}}}}|size={{{Image size|{{{image_size|}}}}}}|sizedefault=frameless|upright=1|alt={{{image_alt|}}}}} | ||
| caption = {{{caption|{{{image_caption|}}}}}} | | caption = {{{caption|{{{image_caption|}}}}}} | ||
Revision as of 14:37, 2 February 2021
[[Category:Infobox templates|Template:Remove first word]]
| 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. |