|
|
Line 1: |
Line 1: |
| | <noinclude> |
| | {{Documentation}} |
| | </noinclude> |
| <includeonly> | | <includeonly> |
| {{Infobox | | {{#switch: |
| | title = {{#if: {{{title1|}}} | {{{title1}}} | {{PAGENAME}} }}
| | {{#ifeq:{{{image1|}}}| | |
| | image1 = {{{image1|}}}
| | {{{image1}}}|[[File:{{{image1}}}|thumb|{{{caption1|}}}]] |
| | caption1 = {{{caption1|}}} | | }} }} |
| | Incumbent = {{{Incumbent|}}} | |
| | First holder = {{{First holder|}}}
| |
| | formed = {{{formed|}}}
| |
| | preceding_agencies = {{{preceding_agencies|}}}
| |
| | type = {{{type|}}}
| |
| | jurisdiction = {{{jurisdiction|}}}
| |
| | headquarters = {{{headquarters|}}}
| |
| | employees = {{{employees|}}}
| |
| | agency_executives = {{{agency_executives|}}}
| |
| | child_agencies = {{{child_agencies|}}}
| |
| }}
| |
| </includeonly>
| |
| <noinclude> | | <noinclude> |
| Example usage:
| | {{/Documentation}} |
| <pre>
| |
| {{Government agency | |
| | title1=Example
| |
| | image1=Example.png
| |
| | caption1=Example caption
| |
| | Incumbent=John Doe
| |
| | First holder=Jane Smith
| |
| | formed=1900
| |
| | preceding_agencies=None
| |
| | type=Federal agency
| |
| | jurisdiction=Country
| |
| | headquarters=Washington, D.C.
| |
| | employees=1000
| |
| | agency_executives=John Doe, Jane Smith
| |
| | child_agencies=Agency A, Agency B
| |
| }}
| |
| </pre>
| |
| <templatedata>
| |
| {
| |
| "params": {
| |
| "title1": {"suggested": true},
| |
| "image1": {"suggested": true},
| |
| "caption1": {"suggested": true},
| |
| "Incumbent": {"suggested": true},
| |
| "First holder": {"suggested": true},
| |
| "formed": {"suggested": true},
| |
| "preceding_agencies": {"suggested": true},
| |
| "type": {"suggested": true},
| |
| "jurisdiction": {"suggested": true},
| |
| "headquarters": {"suggested": true},
| |
| "employees": {"suggested": true},
| |
| "agency_executives": {"suggested": true},
| |
| "child_agencies": {"suggested": true}
| |
| }
| |
| }
| |
| </templatedata>
| |
| </noinclude> | | </noinclude> |