Template

Difference between revisions of "Social Snapshot"

From Lacey Green History

(Created page with "<noinclude> This is the "Social Snapshot" template. It should be called in the following format: <pre> {{Social Snapshot |Year= |Village= |Theme(s)= |Family= }} </pre> Edit th...")
 
 
(30 intermediate revisions by 2 users not shown)
Line 6: Line 6:
 
|Year=
 
|Year=
 
|Village=
 
|Village=
|Theme(s)=
+
|Author=
|Family=
+
|Copywrite=
 +
|Theme=
 +
|SortKey=
 
}}
 
}}
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
</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;"
+
</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>
 
! style="text-align: center; background-color:#ccccff;" colspan="2" |<span style="font-size: larger;">{{PAGENAME}}</span>
 
|-
 
|-
! Social Snapshot Year
+
! Year
| {{#arraymap:{{{Year|}}}|,|x|[[Has Year::x]]}}
+
| [[Has Year::{{{Year|}}}]]
 
 
 
|-
 
|-
 
! Village
 
! Village
| {{#arraymap:{{{Village|}}}|,|x|[[Has Village::x]]}}
+
| [[Has Village::{{{Village|}}}]]
 
+
|-
 +
! Author
 +
| [[Author::{{{Author|}}}]]
 +
|-
 +
! Copywrite
 +
| [[Copywrite::{{{Copywrite|}}}]]
 
|-
 
|-
! Social Snapshot Theme(s)
+
! Theme
| {{#arraymap:{{{Theme(s)|}}}|,|x|[[Has Theme::x]]}}
+
| {{#arraymap:{{{Theme|}}}|,|x|[[Has Theme::x]]}}
 
 
 
|-
 
|-
! Related Family
+
! Social Period
| {{#arraymap:{{{Family|}}}|,|x|[[Has Family Name::x]]}}
+
| [[Socialperiod::{{{Socialperiod|}}}]]
 
 
 
|}
 
|}
  
[[Category:Social Snapshot]]
+
{{#ifeq: {{PAGENAMEE}} | Social_Snapshot ||
 +
  {{#if: {{{SortKey|}}}
 +
    |
 +
    [[Category:Social Snapshot|{{{SortKey}}}]]
 +
    |
 +
    [[Category:Social Snapshot]]
 +
  }}
 +
  {{#if: {{{Socialperiod|}}}
 +
    |
 +
    {{#if: {{{SortKey|}}}
 +
      |
 +
      [[{{{Socialperiod}}}|{{{SortKey}}}]]
 +
      |
 +
      [[{{{Socialperiod}}}]]
 +
    }}
 +
    |
 +
  }}
 +
}}
 
</includeonly>
 
</includeonly>

Latest revision as of 12:14, 4 October 2020

This is the "Social Snapshot" template. It should be called in the following format:

{{Social Snapshot
|Year=
|Village=
|Author=
|Copywrite=
|Theme=
|SortKey=
}}

Edit the page to see the template text.