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

From blackwiki
Jump to navigation Jump to search
imported>Funandtrvl
(fx)
imported>Funandtrvl
(sync w/tmp)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. -->
+
<!--Categories where indicated at the bottom of this page, please; interwikis at Wikidata (see [[Wikipedia:Wikidata]])-->
  
 
== Usage ==
 
== Usage ==
Line 6: Line 6:
 
|document_name=document_name
 
|document_name=document_name
 
|image=example.png
 
|image=example.png
|image_width=200px
+
|caption=caption
|image_caption=image_caption
 
 
|date_created=date_created
 
|date_created=date_created
 
|date_ratified=date_ratified
 
|date_ratified=date_ratified
Line 17: Line 16:
 
}}
 
}}
  
<div style="width:250px;background:#dddddd;border: 1px solid black;padding:0.5em  1em 0.5em 1em"><pre>
+
<pre style="overflow:auto;">
 
{{Infobox document
 
{{Infobox document
 
|document_name =  
 
|document_name =  
|italic_title  =  
+
|image =  
|image        =  
+
|image_size =  
|image_width  =  
+
|image_alt =  
|image_caption =  
+
|caption =  
|date_created =  
+
|date_created =  
 
|date_ratified =  
 
|date_ratified =  
 
|location_of_document =  
 
|location_of_document =  
|writer =  
+
|writer =  
 
|signers =  
 
|signers =  
 
|purpose =  
 
|purpose =  
 
|wikisource =  
 
|wikisource =  
}}</pre></div>
+
}}</pre>
  
 
Required:
 
Required:
Line 37: Line 36:
  
 
==Parameters==
 
==Parameters==
; italic_title: document_name will be in italics unless this parameter is set to "no"
+
; wikisource: Page name at [[:s:|Wikisource]]. Tracked in [[:Category:Articles that link to Wikisource]].
; wikisource: Page name at [[:Wikisource:]]. Tracked in [[:Category:Articles that link to Wikisource]]
 
  
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |

Revision as of 03:49, 8 July 2014

Usage

document_name
Example.png
caption
Createddate_created
Ratifieddate_ratified
Locationlocation_of_document
Author(s)writer
Signatoriessigners
Purposepurpose
{{Infobox document
|document_name = 
|image = 
|image_size = 
|image_alt = 
|caption = 
|date_created = 
|date_ratified = 
|location_of_document = 
|writer = 
|signers = 
|purpose = 
|wikisource = 
}}

Required:

  • document_name — Name of the document

Parameters

wikisource
Page name at Wikisource. Tracked in Category:Articles that link to Wikisource.