Difference between revisions of "Template:Newspaper ad"

From Wayne County, Ohio Online Resource Center
Jump to navigation Jump to search
(Created page with "<noinclude> {{#template_params:organization_name (label=Organization name;property=Organization name)|image (label=Image;property=Address label)}} </noinclude><includeonly>{|...")
 
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
{{#template_params:organization_name (label=Organization name;property=Organization name)|image (label=Image;property=Address label)}}
+
{{#template_params:organization_name (label=Organization name;property=Organization name)|image (label=Image;property=Address label)|date (label=Date of publication;property=Address label)|newspaper_title (label=Newspaper title;property=Address label)|page_number (label=Page number;property=Address label)|industry_sector (label=Industry sector;property=Industry sector)|subindustry (label=Subindustry;property=Sub-Industry)}}
</noinclude><includeonly>{| class="wikitable"
+
 
 +
Example:
 +
 
 +
{{Newspaper ad
 +
|organization_name=James C. Fetzer Agency
 +
|image=James C. Fetzer Agency WR19170330p4.png
 +
|date=1917-03-30
 +
|newspaper_title=Wooster Republican
 +
|page_number=4
 +
|industry_sector=Finance & Insurance
 +
|subindustry=Insurance Agency
 +
}}
 +
</noinclude><includeonly>{| 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>
 +
|-
 
! Organization name
 
! Organization name
 
| [[Organization name::{{{organization_name|}}}]]
 
| [[Organization name::{{{organization_name|}}}]]
 
|-
 
|-
! Image
+
! Date of publication
| [[Address label::{{{image|}}}]]
+
| {{{date|}}}
 +
|-
 +
! Newspaper title
 +
| {{{newspaper_title|}}}
 +
|-
 +
! Page number
 +
| {{{page_number|}}}
 +
|-
 +
! Industry sector
 +
| [[Industry sector::{{{industry_sector|}}}]]
 
|-
 
|-
!  
+
! Subindustry
|{{#ask:[[Address label::{{SUBJECTPAGENAME}}]]|format=list}}
+
| [[Sub-Industry::{{{subindustry|}}}]]
 
|}
 
|}
 +
 +
[[File:{{{image|}}}|frameless|1000x1000px]]
 
</includeonly>
 
</includeonly>

Revision as of 14:45, 6 June 2022

This is the "Newspaper ad" template.

It should be called in the following format:

{{Newspaper ad
|organization_name=
|image=
|date=
|newspaper_title=
|page_number=
|industry_sector=
|subindustry=
}}

Edit the page to see the template text.

Example:

Newspaper ad
Organization name James C. Fetzer Agency
Date of publication 1917-03-30
Newspaper title Wooster Republican
Page number 4
Industry sector Finance & Insurance
Subindustry Insurance Agency

James C. Fetzer Agency WR19170330p4.png