Difference between revisions of "Template:Daily Record article"

From Wayne County, Ohio Online Resource Center
Jump to navigation Jump to search
(Created page with "<includeonly>{{Newspaper article | newspaper_title = The Daily Record | article_title = {{{title}}} | year = {{{year}}} | month = {{{month}}} | day = {{{day}}} | page = {{...")
 
m (Text replacement - "Template:Newspaper article" to "Template:Newspaper article ref")
 
(8 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly>{{Newspaper article
+
<noinclude>
 +
==Usage==
 +
<pre>{{Daily Record article
 +
| title = Article Title Here
 +
| year = YYYY
 +
| month = MM
 +
| day = DD
 +
| page = {{Cite page|123}}
 +
| section = S
 +
| author = Jane [[Doe (surname)|Doe]]
 +
}}</pre>
 +
 
 +
Most parameters are optional; <code>year</code> and <code>title</code> are required. See [[Template:Newspaper article ref]] for examples and discussion.
 +
</noinclude><includeonly>{{Newspaper article ref
 
| newspaper_title = [[The Daily Record]]
 
| newspaper_title = [[The Daily Record]]
| article_title = {{{title}}}
+
| article_title = {{#if:{{{title|}}}|{{{title}}}|}}
| year = {{{year}}}
+
| year = {{#if:{{{year|}}}|{{{year}}}|}}
| month = {{{month}}}
+
| month = {{#if:{{{month|}}}|{{{month}}}|}}
| day = {{{day}}}
+
| day = {{#if:{{{day|}}}|{{{day}}}|}}
| page = {{{page}}}
+
| page = {{#if:{{{page|}}}|{{{page}}}|}}
| section = {{{section}}}
+
| section = {{#if:{{{section|}}}|{{{section}}}|}}
| author = {{{author}}}
+
| author = {{#if:{{{author|}}}|{{{author}}}|}}
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 05:30, 12 August 2022

Usage

{{Daily Record article
| title = Article Title Here
| year = YYYY
| month = MM
| day = DD
| page = {{Cite page|123}}
| section = S
| author = Jane [[Doe (surname)|Doe]]
}}

Most parameters are optional; year and title are required. See Template:Newspaper article ref for examples and discussion.