Difference between revisions of "Template:Newspaper clipping"

From Wayne County, Ohio Online Resource Center
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 62: Line 62:
 
  |Organization name={{{organization_name|}}}|+sep=;
 
  |Organization name={{{organization_name|}}}|+sep=;
 
  |Has date={{#var: date}}
 
  |Has date={{#var: date}}
  |Year={{#if:{{{date|{{{year|}}}}}}|{{#time:Y|{{{date|}}}}}}}
+
  |Year={{{year|{{#time:Y|{{#var:date}}}} }}}
 
  |Authored by={{{author|}}}|+sep=;
 
  |Authored by={{{author|}}}|+sep=;
 
  |Newspaper title={{{newspaper_title|}}}
 
  |Newspaper title={{{newspaper_title|}}}
Line 94: 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 127: 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 154: Line 166:
 
       |
 
       |
 
       |^^^
 
       |^^^
       |<li>{{#replace:^^^|>|&#32;>&#32;}}</li><!--
+
       |<li>{{#replace:^^^|>|&#32;>&#32;}}</li>{{#set:
-->{{#set:
+
        |Industry sector={{#explode:^^^|>|0}}
      |Industry sector={{#explode:^^^|>|0}}
+
        |Sub-Industry={{#explode:^^^|>|1}}
      |Sub-Industry={{#explode:^^^|>|1}}
+
      }}
    }}
 
 
   }}</ul>
 
   }}</ul>
 
|}
 
|}
  
[[File:{{{image|}}}|frameless|1000x1000px|]]
+
[[File:{{{image|}}}|frameless|1000x1000px|]] -->
<blockquote>
 
 
{{{full_text|}}}
 
{{{full_text|}}}
</blockquote>
 
 
</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:

Page 4 of Jacksonian,published in Wooster, Ohio on Thursday, December 13th, 1883.jpeg
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.