Difference between revisions of "Template:Newspaper article"

From Wayne County, Ohio Online Resource Center
Jump to navigation Jump to search
(Created page with "<includeonly><!-- -->{{#vardefine: date|{{#if:{{{date|}}}|{{{date|}}}|{{#if:{{{day|}}} |{{#time:Y/m/d|{{{year|}}}-{{padleft:{{{month|}}}|2}}-{{padleft:{{{day|}}}|2}}}}...")
 
 
(5 intermediate revisions by 2 users not shown)
Line 48: Line 48:
 
  |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|}}}
 
  |Newspaper section={{{newspaper_section|}}}
 
  |Newspaper section={{{newspaper_section|}}}
 
  |Page number={{{page_number|}}}
 
  |Page number={{{page_number|}}}
 +
|Article title={{{article_title|}}}
 
  |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 64: Line 65:
 
     <div class="wcpl-infobox-section-header" style="text-align:center">{{PAGENAME}}</div>
 
     <div class="wcpl-infobox-section-header" style="text-align:center">{{PAGENAME}}</div>
 
     <div class="wcpl-infobox-section-body"><!--
 
     <div class="wcpl-infobox-section-body"><!--
 +
  -->{{#if:{{{article_title|}}}
 +
        |<div class="d-flex">
 +
<dl><dt>Article title</dt></dl>
 +
<ul class="ul-simple"><li>{{{article_title|}}}</li></ul>
 +
        </div>
 +
    }}
 +
<!--
 
   -->{{#if:{{{newspaper_title|}}}
 
   -->{{#if:{{{newspaper_title|}}}
 
         |<div class="d-flex">
 
         |<div class="d-flex">
Line 125: Line 133:
 
</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 144: Line 152:
 
! Page number
 
! Page number
 
| {{{page_number|}}}
 
| {{{page_number|}}}
 +
|-
 +
! Article title
 +
| {{{article_title|}}}
 
|-
 
|-
 
! Subject tags
 
! Subject tags
Line 152: Line 163:
 
       |
 
       |
 
       |^^^
 
       |^^^
       |<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|}}}
 
</blockquote>
 
 
</includeonly>
 
</includeonly>

Latest revision as of 16:18, 13 July 2023