Difference between revisions of "Template:Newspaper clipping"
Jump to navigation
Jump to search
(4 intermediate revisions by the same user not shown) | |||
Line 9: | Line 9: | ||
|image=Page 4 of Jacksonian,published in Wooster, Ohio on Thursday, December 13th, 1883.jpeg | |image=Page 4 of Jacksonian,published in Wooster, Ohio on Thursday, December 13th, 1883.jpeg | ||
|page_number=4 | |page_number=4 | ||
− | | | + | |newspaper_section=Congress |
|subject_tags=Union Hotel, Commercial House, W. S. Brown, Congress, Hotel | |subject_tags=Union Hotel, Commercial House, W. S. Brown, Congress, Hotel | ||
|full_text=W. S. {{Surname|Brown}} has purchased the hotel property known as the [[Union Hotel]]. He has gone to a great expense in overhauling and refitting the same. It will hereafter be known as the Commercial House. Mrs. Brown is favorably known as a landlady, and guests will receive a cordial welcome, and I am sure if the stop at the Commercial once they will stop again. PEACEFUL RULER. | |full_text=W. S. {{Surname|Brown}} has purchased the hotel property known as the [[Union Hotel]]. He has gone to a great expense in overhauling and refitting the same. It will hereafter be known as the Commercial House. Mrs. Brown is favorably known as a landlady, and guests will receive a cordial welcome, and I am sure if the stop at the Commercial once they will stop again. PEACEFUL RULER. | ||
Line 62: | Line 62: | ||
|Organization name={{{organization_name|}}}|+sep=; | |Organization name={{{organization_name|}}}|+sep=; | ||
|Has date={{#var: date}} | |Has date={{#var: date}} | ||
− | |Year= | + | |Year={{{year|{{#time:Y|{{#var:date}}}} }}} |
|Authored by={{{author|}}}|+sep=; | |Authored by={{{author|}}}|+sep=; | ||
|Newspaper title={{{newspaper_title|}}} | |Newspaper title={{{newspaper_title|}}} | ||
+ | |Newspaper section={{{newspaper_section|}}} | ||
+ | |Page number={{{page_number|}}} | ||
|Subject tag={{{subject_tags|}}}|+sep=; | |Subject tag={{{subject_tags|}}}|+sep=; | ||
|Has image={{#if:{{{image|}}}|File:{{PAGENAME:{{{image|}}}}}}} | |Has image={{#if:{{{image|}}}|File:{{PAGENAME:{{{image|}}}}}}} | ||
Line 92: | Line 94: | ||
<dl><dt>Author</dt></dl> | <dl><dt>Author</dt></dl> | ||
<ul class="ul-simple">{{#arraymap:{{{author|}}}|;|@@@|<li>@@@</li>|}}</ul> | <ul class="ul-simple">{{#arraymap:{{{author|}}}|;|@@@|<li>@@@</li>|}}</ul> | ||
+ | </div> | ||
+ | }}<!-- | ||
+ | -->{{#if:{{{newspaper_section|}}} | ||
+ | |<div class="d-flex"> | ||
+ | <dl><dt>Section</dt></dl> | ||
+ | <ul class="ul-simple">{{{newspaper_section|}}}</ul> | ||
+ | </div> | ||
+ | }}<!-- | ||
+ | -->{{#if:{{{page_number|}}} | ||
+ | |<div class="d-flex"> | ||
+ | <dl><dt>Page number</dt></dl> | ||
+ | <ul class="ul-simple">{{{page_number|}}}</ul> | ||
</div> | </div> | ||
}}<!-- | }}<!-- | ||
Line 125: | Line 139: | ||
</div> | </div> | ||
− | + | <!-- | |
{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;" | {| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;" | ||
! style="text-align: center; background-color:#ccccff;" colspan="2" |<span style="font-size: larger;">{{PAGENAME}}</span> | ! style="text-align: center; background-color:#ccccff;" colspan="2" |<span style="font-size: larger;">{{PAGENAME}}</span> | ||
Line 152: | Line 166: | ||
| | | | ||
|^^^ | |^^^ | ||
− | |<li>{{#replace:^^^|>| > }}</li | + | |<li>{{#replace:^^^|>| > }}</li>{{#set: |
− | + | |Industry sector={{#explode:^^^|>|0}} | |
− | + | |Sub-Industry={{#explode:^^^|>|1}} | |
− | + | }} | |
− | |||
}}</ul> | }}</ul> | ||
|} | |} | ||
− | [[File:{{{image|}}}|frameless|1000x1000px|]] | + | [[File:{{{image|}}}|frameless|1000x1000px|]] --> |
− | |||
{{{full_text|}}} | {{{full_text|}}} | ||
− | |||
</includeonly> | </includeonly> |
Latest revision as of 18:33, 24 August 2022
This is the "Newspaper clipping" template.
It should be called in the following format:
{{Newspaper clipping |organization_name= |image= |date= |newspaper_title= |page_number= |full_text= |subject_tags= }}
Edit the page to see the template text.
Example:
Newspaper clipping
- Newspaper title
- The Jacksonian
- Date of publication
- 1883/12/13
- Section
- Congress
- Page number
- 4
- Subject tags
- Union Hotel, Commercial House, W. S. Brown, Congress, Hotel
W. S. Brown has purchased the hotel property known as the Union Hotel. He has gone to a great expense in overhauling and refitting the same. It will hereafter be known as the Commercial House. Mrs. Brown is favorably known as a landlady, and guests will receive a cordial welcome, and I am sure if the stop at the Commercial once they will stop again. PEACEFUL RULER.