Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

Jump to content

Template:Infobox document/doc

From Wikipedia, the free encyclopedia

Usage

[edit]
{{{document_name}}}
[[File:{{{image}}}|frameless|alt={{{image_alt}}}|upright=1]]
{{{caption}}}
[[File:{{{image2}}}|frameless|alt={{{image2_alt}}}|upright=1]]
{{{caption2}}}
Original title{{{title_orig}}}
Created{{{date_created}}}
Presented{{{date_presented}}}
Ratified{{{date_ratified}}}
Date effective{{{date_effective}}}
Amended{{{date_amended}}}
Repealed{{{date_repeal}}}
Superseded{{{date_superseded}}}
Location{{{location_of_document}}}
Commissioned by{{{commissioned}}}
Author{{{writer}}}
Signatories{{{signers}}}
Media type{{{media_type}}}
Subject{{{subject}}}
Purpose{{{purpose}}}
Supersedes{{{supersedes}}}
Superseded by{{{superseded_by}}}
Official website
{{{official_website}}}
Full text
[[wikisource:{{{wikisource}}}|{{{wikisource}}}]] at Wikisource
Wikisource
  • [[wikisource:{{{wikisource1}}}|{{{wikisource1}}}]]
  • [[wikisource:{{{wikisource2}}}|{{{wikisource2}}}]]
  • [[wikisource:{{{wikisource3}}}|{{{wikisource3}}}]]
  • [[wikisource:{{{wikisource4}}}|{{{wikisource4}}}]]
  • [[wikisource:{{{wikisource5}}}|{{{wikisource5}}}]]
{{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_amended         = <!-- alternatively date_revised -->
| date_repeal          = 
| date_superseded      =
| location_of_document = 
| commissioned         = 
| writer               = 
| signers              = 
| media_type           = 
| subject              = 
| purpose              = 
| supersedes           =
| superseded_by        =
| official_website     =
| wikisource           = 
| wikisource1          = 
| wikisource2          = 
| wikisource3          = 
| wikisource4          = 
| wikisource5          = 

}}

Parameters

[edit]
Required
  • document_name — Name of the document

All other parameters are optional.

Tracking categories

[edit]

An infobox for a historical, legal, or official document.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Document namedocument_name name

Name of the document, shown at the top of the infobox

Default
The page name without the disambiguator
Stringrequired
Imageimage Image image_name

File name of an image of the document, without the File: prefix

Filesuggested
Image sizeimage_size Image size

Size of the image, for example 200px

Default
frameless
Stringoptional
Image alt textimage_alt

Alternative text of the image for readers who cannot see it

Stringoptional
Captioncaption image_caption

Caption of the image

Contentoptional
Second imageimage2 Image2 image2_name

File name of a second image, without the File: prefix

Fileoptional
Second image sizeimage2_size Image2 size

Size of the second image, for example 200px

Default
frameless
Stringoptional
Second image alt textimage2_alt

Alternative text of the second image

Stringoptional
Second captioncaption2 image2_caption

Caption of the second image

Contentoptional
Original language codeorig_lang_code

Language code of the original title, for example fr. The original title shows only when this parameter has a value.

Stringoptional
Original titletitle_orig

Title of the document in its original language. It shows only when orig_lang_code has a value.

Stringoptional
Date createddate_created

Date when the document was created

Contentoptional
Date presenteddate_presented

Date when the document was presented

Contentoptional
Date ratifieddate_ratified

Date when the document was ratified

Contentoptional
Date effectivedate_effective

Date when the document became effective

Contentoptional
Date amendeddate_amended

Date when the document was amended. The row label is Amended. If this parameter has a value, the infobox ignores date_revised.

Contentoptional
Date reviseddate_revised

Date when the document was revised. The row label is Revised. Use this parameter instead of date_amended.

Contentoptional
Date repealeddate_repeal

Date when the document was repealed

Contentoptional
Date supersededdate_superseded

Date when another document superseded this document

Contentoptional
Locationlocation_of_document

Place where the document is kept

Contentoptional
Commissioned bycommissioned

Person or body that commissioned the document

Contentoptional
Authorswriter

Author or authors of the document

Contentoptional
Signatoriessigners

Persons or parties that signed the document

Contentoptional
Media typemedia_type

Material or medium of the document, for example parchment

Contentoptional
Subjectsubject

Subject of the document

Contentoptional
Purposepurpose

Purpose of the document

Contentoptional
Supersedessupersedes

Document that this document superseded

Contentoptional
Superseded bysuperseded_by

Document that superseded this document

Contentoptional
Official websiteofficial_website

Official website of the document, for example with the URL template

Contentoptional
Wikisource full textwikisource

Title of the full text on Wikisource. The infobox shows it in a Full text section.

Stringoptional
Wikisource page 1wikisource1

Title of a page on Wikisource. The infobox shows wikisource1 to wikisource5 in a Wikisource list.

Stringoptional
Wikisource page 2wikisource2

Title of a second page on Wikisource. It shows only when wikisource1 has a value.

Stringoptional
Wikisource page 3wikisource3

Title of a third page on Wikisource. It shows only when wikisource1 has a value.

Stringoptional
Wikisource page 4wikisource4

Title of a fourth page on Wikisource. It shows only when wikisource1 has a value.

Stringoptional
Wikisource page 5wikisource5

Title of a fifth page on Wikisource. It shows only when wikisource1 has a value.

Stringoptional
Embedded contentmisc module

Content at the bottom of the infobox, for example an embedded infobox

Contentoptional
Embedded content 2misc2 module2

Second content row at the bottom of the infobox

Contentoptional
Embedded content 3misc3 module3

Third content row at the bottom of the infobox

Contentoptional
Embedded content 4misc4 module4

Fourth content row at the bottom of the infobox

Contentoptional
Embedded content 5misc5 module5

Fifth content row at the bottom of the infobox

Contentoptional
Embedded content 6misc6 module6

Sixth content row at the bottom of the infobox

Contentoptional
Embedembed

Set to yes when this infobox is embedded in another infobox

Suggested values
yes
Stringoptional