Difference between revisions of "Template:Infobox document/doc"
Jump to navigation
Jump to search
(to match template) |
imported>Shkuru Afshar |
||
| (17 intermediate revisions by 10 users not shown) | |||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
<!--Categories where indicated at the bottom of this page, please; interwikis at Wikidata (see [[Wikipedia:Wikidata]])--> | <!--Categories where indicated at the bottom of this page, please; interwikis at Wikidata (see [[Wikipedia:Wikidata]])--> | ||
| + | {{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters}} | ||
== Usage == | == Usage == | ||
| − | {{Infobox document | + | {{Parameter names example |
| − | | document_name | + | |_template=Infobox document |
| − | | image | + | | document_name |
| − | | image_alt | + | | image |
| − | | caption = | + | | image_alt |
| − | | date_created | + | | caption |
| − | | date_ratified | + | | image2 |
| − | | date_effective | + | | image2_alt |
| − | | date_repeal | + | | caption2 |
| − | | location_of_document | + | | orig_lang_code = en |
| − | | writer | + | | title_orig |
| − | | signers | + | | date_created |
| − | | purpose | + | | date_presented |
| + | | date_ratified | ||
| + | | date_effective | ||
| + | | date_repeal | ||
| + | | location_of_document | ||
| + | | commissioned | ||
| + | | writer | ||
| + | | signers | ||
| + | | media_type | ||
| + | | subject | ||
| + | | purpose | ||
}} | }} | ||
<pre style="overflow:auto;"> | <pre style="overflow:auto;"> | ||
{{Infobox document | {{Infobox document | ||
| − | | document_name = | + | | document_name = |
| − | | image = | + | | image = |
| − | | image_size = | + | | image_size = |
| − | | image_alt = | + | | image_alt = |
| − | | caption = | + | | caption = |
| − | | date_created = | + | | image2 = |
| − | | date_ratified = | + | | image2_size = |
| − | | date_effective = | + | | image2_alt = |
| − | | date_repeal = | + | | caption2 = |
| − | | | + | | orig_lang_code = |
| − | | writer = | + | | title_orig = |
| − | | | + | | date_created = |
| − | | purpose = | + | | date_presented = |
| − | }} | + | | date_ratified = |
| − | </pre> | + | | date_effective = |
| − | + | | date_repeal = | |
| − | + | | location_of_document = | |
| + | | commissioned = | ||
| + | | writer = | ||
| + | | signers = | ||
| + | | media_type = | ||
| + | | subject = | ||
| + | | purpose = | ||
| + | }}</pre> | ||
| − | ; Required | + | ==Parameters== |
| − | * | + | ;Required |
| + | * document_name — Name of the document | ||
All other parameters are optional. | All other parameters are optional. | ||
| − | <includeonly>{{ | + | <includeonly>{{Sandbox other|| |
<!--Categories below here, please; interwikis to Wikidata.--> | <!--Categories below here, please; interwikis to Wikidata.--> | ||
[[Category:History and events infobox templates|Document]] | [[Category:History and events infobox templates|Document]] | ||
[[Category:Society and social science infobox templates|Document]] | [[Category:Society and social science infobox templates|Document]] | ||
}}</includeonly> | }}</includeonly> | ||
Latest revision as of 16:14, 2 February 2021
| 40px | This is a documentation subpage for Template:Infobox document. It contains usage information, categories and other content that is not part of the original template page. |
| 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.