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...")
 
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
This is the "Social Snapshot" template.
+
This is the "Social Snapshot infobox" form.
It should be called in the following format:
+
To create a page with this form, enter the page name below;
<pre>
+
if a page with that name already exists, you will be sent to a form to edit that page.
{{Social Snapshot
+
 
|Year=
+
 
|Village=
+
{{#forminput:form=Social Snapshot infobox}}
|Theme(s)=
+
 
|Family=
+
</noinclude><includeonly>
}}
+
<div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div>
</pre>
+
{{{for template|Social Snapshot}}}
Edit the page to see the template text.
+
{| class="formtable"
</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;"
+
! Year:  
! style="text-align: center; background-color:#ccccff;" colspan="2" |<span style="font-size: larger;">{{PAGENAME}}</span>
+
| {{{field|Year}}}
 +
|-
 +
! Village:  
 +
| {{{field|Village}}}
 
|-
 
|-
! Social Snapshot Year
+
! Theme(s):
| {{#arraymap:{{{Year|}}}|,|x|[[Has Year::x]]}}
+
| {{{field|Theme(s)}}}
 +
|-
 +
! Family:  
 +
| {{{field|Family}}}
 +
|}
 +
{{{end template}}}
  
|-
+
'''Free text:'''
! Village
+
 
| {{#arraymap:{{{Village|}}}|,|x|[[Has Village::x]]}}
+
{{{standard input|free text|rows=10}}}
  
|-
 
! Social Snapshot Theme(s)
 
| {{#arraymap:{{{Theme(s)|}}}|,|x|[[Has Theme::x]]}}
 
  
|-
+
{{{standard input|summary}}}
! Related Family
 
| {{#arraymap:{{{Family|}}}|,|x|[[Has Family Name::x]]}}
 
  
|}
+
{{{standard input|minor edit}}} {{{standard input|watch}}}
  
[[Category:Social Snapshot]]
+
{{{standard input|save}}} {{{standard input|preview}}} {{{standard input|changes}}} {{{standard input|cancel}}}
 
</includeonly>
 
</includeonly>

Revision as of 13:03, 19 August 2020

This is the "Social Snapshot infobox" form. To create a page with this form, enter the page name below; if a page with that name already exists, you will be sent to a form to edit that page.