Difference between revisions of "Sandbox6"

From MarineLives
Jump to: navigation, search
(Created page with "{{Sample2 |name=Colin Greenstreet }}")
 
Line 1: Line 1:
 +
This Sandbox page is dedicated to learning about templates:
 +
----
 +
==Simple text insertion template==
 
{{Sample2
 
{{Sample2
 
  |name=Colin Greenstreet
 
  |name=Colin Greenstreet
 
}}
 
}}
 +
 +
----
 +
==Simple infobox insertion template==
 +
 +
<pre><nowiki>
 +
 +
{| cellpadding="0" cellspacing="0" style="float: right; clear: right; border: 1px #dcdcdc; padding: 5px; margin: 0em 0em 1em 1em; max-width: 300px; background: #b0c4de;"
 +
|-
 +
|
 +
{| cellpadding="1" cellspacing="0" style="font-size: 90%; width: 100%; =
 +
|-{{#if: {{{Title}}} | {{Title|{{{Title}}}|}} | {{blank}} }}
 +
|-{{#if: {{{Firstname}}} | {{Firstname|{{{Firstname}}}|}} | {{blank}} }}
 +
|-{{#if: {{{Lastname}}} | {{Lastname|{{{Lastname}}}|}} | {{blank}} }}
 +
|-{{#if: {{{Suffix}}} | {{Suffix|{{{Suffix}}}|}} | {{blank}} }}
 +
|-{{#if: {{{Occupation}}} | {{Occupation|{{{Occupation}}}|}} | {{blank}} }}
 +
|-{{#if: {{{Birth year}}} | {{Birth year|{{{Birth year}}}|}} | {{blank}} }}
 +
|-{{#if: {{{Birth place}}} | {{Birth place|{{{Birth place}}}|}} | {{blank}} }}
 +
|-{{#if: {{{Resident town}}} | {{Resident town|{{{Resident town}}}|}} | {{blank}} }}
 +
|}
 +
|}
 +
 +
<noinclude>[[Category:Templates]]</noinclude>
 +
 +
</nowiki></pre>
 +
 +
{| cellpadding="0" cellspacing="0" style="float: right; clear: right; border: 1px #dcdcdc; padding: 5px; margin: 0em 0em 1em 1em; max-width: 300px; background: #b0c4de;"
 +
|-
 +
|
 +
{| cellpadding="1" cellspacing="0" style="font-size: 90%; width: 100%; =
 +
|-{{#if: {{{Title}}} | {{Title|{{{Title}}}|}} | {{blank}} }}
 +
|-{{#if: {{{Firstname}}} | {{Firstname|{{{Firstname}}}|}} | {{blank}} }}
 +
|-{{#if: {{{Lastname}}} | {{Lastname|{{{Lastname}}}|}} | {{blank}} }}
 +
|-{{#if: {{{Suffix}}} | {{Suffix|{{{Suffix}}}|}} | {{blank}} }}
 +
|-{{#if: {{{Occupation}}} | {{Occupation|{{{Occupation}}}|}} | {{blank}} }}
 +
|-{{#if: {{{Birth year}}} | {{Birth year|{{{Birth year}}}|}} | {{blank}} }}
 +
|-{{#if: {{{Birth place}}} | {{Birth place|{{{Birth place}}}|}} | {{blank}} }}
 +
|-{{#if: {{{Resident town}}} | {{Resident town|{{{Resident town}}}|}} | {{blank}} }}
 +
|}
 +
|}
 +
 +
<noinclude>[[Category:Templates]]</noinclude>

Revision as of 13:57, July 21, 2016

This Sandbox page is dedicated to learning about templates:



Simple text insertion template

Semantic biographies are an experimental series of biographies of deponents who were witnesses in the High Court of Admiralty in the 1650s. They are being prepared by {{{Name}}}.



Simple infobox insertion template



{| cellpadding="0" cellspacing="0" style="float: right; clear: right; border: 1px #dcdcdc; padding: 5px; margin: 0em 0em 1em 1em; max-width: 300px; background: #b0c4de;"
|-
|
{| cellpadding="1" cellspacing="0" style="font-size: 90%; width: 100%; =
|-{{#if: {{{Title}}} | {{Title|{{{Title}}}|}} | {{blank}} }}
|-{{#if: {{{Firstname}}} | {{Firstname|{{{Firstname}}}|}} | {{blank}} }}
|-{{#if: {{{Lastname}}} | {{Lastname|{{{Lastname}}}|}} | {{blank}} }}
|-{{#if: {{{Suffix}}} | {{Suffix|{{{Suffix}}}|}} | {{blank}} }}
|-{{#if: {{{Occupation}}} | {{Occupation|{{{Occupation}}}|}} | {{blank}} }}
|-{{#if: {{{Birth year}}} | {{Birth year|{{{Birth year}}}|}} | {{blank}} }}
|-{{#if: {{{Birth place}}} | {{Birth place|{{{Birth place}}}|}} | {{blank}} }}
|-{{#if: {{{Resident town}}} | {{Resident town|{{{Resident town}}}|}} | {{blank}} }}
|}
|}

<noinclude>[[Category:Templates]]</noinclude>