Difference between revisions of "Template:infobox institution"
From Asylum Projects
M-Explorer (talk | contribs) |
|||
(37 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | |||
{{Infobox | {{Infobox | ||
− | | bodyclass = | + | | bodyclass = Vcard |
− | | bodystyle = margin-top: 1px; width:23em; font-size:90%; text-align:left; padding-left:0. | + | | bodystyle = margin-top: 1px; width:23em; font-size:90%; text-align:left; padding-left:0.1em; padding-right:0.1em; background-color: #C0C0C0; float:right; |
| above = <includeonly>{{{name|{{PAGENAME}}}}}</includeonly> | | above = <includeonly>{{{name|{{PAGENAME}}}}}</includeonly> | ||
+ | | abovestyle = background:#A9A9A9; | ||
| aboveclass = fn | | aboveclass = fn | ||
| image = {{#if:{{{image|}}}|[[File:{{{image}}}|{{#if:{{{image_size|{{{imagesize|}}}}}}|{{{image_size|{{{imagesize}}}}}}|225px}}|alt={{{alt|}}}]]}} | | image = {{#if:{{{image|}}}|[[File:{{{image}}}|{{#if:{{{image_size|{{{imagesize|}}}}}}|{{{image_size|{{{imagesize}}}}}}|225px}}|alt={{{alt|}}}]]}} | ||
+ | | imagestyle = background-color:#A9A9A9; text-align:center; padding-left:0.1em; padding-right:0.1em; | ||
| imageclass = {{image class names|{{{image}}}}} | | imageclass = {{image class names|{{{image}}}}} | ||
| caption = {{{caption|}}} | | caption = {{{caption|}}} | ||
− | |||
| label1 = Established | | label1 = Established | ||
Line 54: | Line 54: | ||
| data11 = {{{architecture_style|}}} | | data11 = {{{architecture_style|}}} | ||
− | | | + | | class12 = label |
| label12 = Peak Patient Population | | label12 = Peak Patient Population | ||
| data12 = {{{peak_patient_population|}}} | | data12 = {{{peak_patient_population|}}} | ||
Line 63: | Line 63: | ||
}} | }} | ||
− | |||
+ | <noinclude>To add an infobox to an institution article, just cut and paste the coding below into the article at the top. The box is set up to only show the sections that you fill out. So fill out what you can and leave the others blank. If there is more information later on, you or another editor can come back and fill in the blanks. Also, use this templates talk page to suggest more additions to this infobox.</noinclude> | ||
<noinclude> | <noinclude> | ||
+ | ==Coding== | ||
<pre> | <pre> | ||
{{infobox institution | {{infobox institution | ||
Line 88: | Line 89: | ||
}} | }} | ||
</pre> | </pre> | ||
+ | |||
+ | ==Coding description== | ||
+ | {| border="2px" | ||
+ | |- | ||
+ | | '''Value Name''' || '''Value Description''' | ||
+ | |- | ||
+ | | name || Place the name of the article here | ||
+ | |- | ||
+ | | image || An image to be placed in the infobox. Make sure when adding the name of the image that you don't include image: or file: before the name. (for example: image.jpg) | ||
+ | |- | ||
+ | | image_size || Please either include the image size in pixels. (For example: 250px) Please keep image size below 250 pixels please. | ||
+ | |- | ||
+ | | alt || Please include a quick alternate description of the image for those who have turned off images in their browser. This also helps people who are visually impaired as their readers read these alt descriptions. | ||
+ | |- | ||
+ | | caption || If you would like to add a brief caption to be shown directly under the image within the infobox, then place the caption in this space. | ||
+ | |- | ||
+ | | established || Place the date of the institution's founding here. | ||
+ | |- | ||
+ | | construction_began || Place the date when construction first began on the institution here. | ||
+ | |- | ||
+ | | construction_ended || Place the date when the primary construction finished for the institution here. | ||
+ | |- | ||
+ | | opened || Place the date when the institution first opened and admitted their first patients. | ||
+ | |- | ||
+ | | closed || Place the date when the institution shut down and sent their remaining patients to other institutions. | ||
+ | |- | ||
+ | | demolished || Place the date when the institution was demolished here. | ||
+ | |- | ||
+ | | current_status || Place the current status of the institution here. For example with corresponding coding: | ||
+ | *Active in it's original mission: <nowiki>[[Active Institution|Active]]</nowiki> | ||
+ | *Closed in it's original mission but may still be used for something else (I.E. as a regular prison or state offices): <nowiki>[[Closed Institution|Closed]]</nowiki> | ||
+ | *Demolished as in the entire campus has been demolished with very little to no buildings left: <nowiki>[[Demolished Institution|Demolished]]</nowiki> | ||
+ | *Preserved as in one or more buildings on the institution campus has been retained and is being maintained as a historical landmark. (Please note: this coding can be added along with the other statuses above.): <nowiki>[[Preserved Institution|Preserved]]</nowiki> | ||
+ | |- | ||
+ | | building_style || Please include the applicable building plan code if known: | ||
+ | *[[Corridor Plan Institutions|Corridor Plan]]: <nowiki>[[Corridor Plan Institutions|Corridor Plan]]</nowiki> | ||
+ | *[[Cottage Planned Institutions|Cottage Plan]]: <nowiki>[[Cottage Planned Institutions|Cottage Plan]]</nowiki> | ||
+ | *[[Echelon Plan Institutions|Echelon Plan]]: <nowiki>[[Echelon Plan Institutions|Echelon Plan]]</nowiki> | ||
+ | *[[Kirkbride Planned Institutions|Kirkbride Plan]]: <nowiki>[[Kirkbride Planned Institutions|Kirkbride Plan]]</nowiki> | ||
+ | *[[Pavilion Plan Institutions|Pavilion Plan]]: <nowiki>[[Pavilion Plan Institutions|Pavilion Plan]]</nowiki> | ||
+ | *[[Radial Plan Institutions|Radial Plan]]: <nowiki>[[Radial Plan Institutions|Radial Plan]]</nowiki> | ||
+ | *[[Rambling Planned Institutions|Rambling Plan]]: <nowiki>[[Rambling Planned Institutions|Rambling Plan]]</nowiki> | ||
+ | *[[Single Building Institutions|Single Building]]: <nowiki>[[Single Building Institutions|Single Building]]</nowiki> | ||
+ | |- | ||
+ | | architect(s) || Add the architect(s) name if known. | ||
+ | |- | ||
+ | | location || Add the city/town where the institution is located. | ||
+ | |- | ||
+ | | architecture_style || Add the architectural style of the main/prominent building if known. | ||
+ | |- | ||
+ | | peak_patient_population || Add the total number of patients and year if known. (I.E. 2,400 in 1956). | ||
+ | |- | ||
+ | | alternate_names || Add the other names the institution is/was known by other then the main name of the article. | ||
+ | |- | ||
+ | |} | ||
</noinclude> | </noinclude> | ||
+ | <noinclude>[[category:Template]]</noinclude> |
Latest revision as of 06:22, 2 January 2018
To add an infobox to an institution article, just cut and paste the coding below into the article at the top. The box is set up to only show the sections that you fill out. So fill out what you can and leave the others blank. If there is more information later on, you or another editor can come back and fill in the blanks. Also, use this templates talk page to suggest more additions to this infobox.
Coding
{{infobox institution | name = | image = | image_size = | alt = | caption = | established = | construction_began = | construction_ended = | opened = | closed = | demolished = | current_status = | building_style = | architect(s) = | location = | architecture_style = | peak_patient_population = | alternate_names = }}
Coding description
Value Name | Value Description |
name | Place the name of the article here |
image | An image to be placed in the infobox. Make sure when adding the name of the image that you don't include image: or file: before the name. (for example: image.jpg) |
image_size | Please either include the image size in pixels. (For example: 250px) Please keep image size below 250 pixels please. |
alt | Please include a quick alternate description of the image for those who have turned off images in their browser. This also helps people who are visually impaired as their readers read these alt descriptions. |
caption | If you would like to add a brief caption to be shown directly under the image within the infobox, then place the caption in this space. |
established | Place the date of the institution's founding here. |
construction_began | Place the date when construction first began on the institution here. |
construction_ended | Place the date when the primary construction finished for the institution here. |
opened | Place the date when the institution first opened and admitted their first patients. |
closed | Place the date when the institution shut down and sent their remaining patients to other institutions. |
demolished | Place the date when the institution was demolished here. |
current_status | Place the current status of the institution here. For example with corresponding coding:
|
building_style | Please include the applicable building plan code if known:
|
architect(s) | Add the architect(s) name if known. |
location | Add the city/town where the institution is located. |
architecture_style | Add the architectural style of the main/prominent building if known. |
peak_patient_population | Add the total number of patients and year if known. (I.E. 2,400 in 1956). |
alternate_names | Add the other names the institution is/was known by other then the main name of the article. |