Difference between revisions of "Template:Infobox document/doc"

From blackwiki
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 = ''document_name''
+
|_template=Infobox document
| image = example.png
+
| document_name
| image_alt = ''image_alt''
+
| image
| caption = ''caption''
+
| image_alt
| date_created = ''date_created''
+
| caption
| date_ratified = ''date_ratified''
+
| image2
| date_effective = ''date_effective''
+
| image2_alt
| date_repeal = ''date_repeal''
+
| caption2
| location_of_document = ''location_of_document'' (or&nbsp;''document_location'')
+
| orig_lang_code = en
| writer = ''writer'' (or&nbsp;''writers'')
+
| title_orig
| signers = ''signers''
+
| date_created
| purpose = ''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 =       <!-- required --> 
+
| 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            =
| document_location =  
+
| orig_lang_code      =
| writer =              <!-- or | writers = -->
+
| title_orig          =  
| signers =  
+
| date_created         =
| purpose =  
+
| date_presented      =  
}}
+
| date_ratified       =  
</pre>
+
| date_effective       =  
 
+
| date_repeal         =
== Parameters ==
+
| location_of_document =  
 +
| commissioned        =  
 +
| writer               =  
 +
| signers             =
 +
| media_type          =  
 +
| subject              =  
 +
| purpose             =  
 +
}}</pre>
  
; Required
+
==Parameters==
* ''document_name'' : The name of the document.
+
;Required
 +
* document_name &mdash; Name of the document
  
 
All other parameters are optional.
 
All other parameters are optional.
  
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
+
<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

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.