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}}}}...")
 
(2 intermediate revisions by the same user 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|}}}
Line 125: Line 125:
 
</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 152:
 
       |
 
       |
 
       |^^^
 
       |^^^
       |<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>

Revision as of 11:43, 27 August 2022