Template:Sandbox: Difference between revisions
From OnTrackNorthAmerica
(Created page with "<noinclude> {{#expr: 1 + 1}} </noinclude> {{{Link}}} by {{{Name}}} {{#if:Company|from {{{Company}}}| }}") |
No edit summary |
||
(29 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<templatestyles src = "Template:Sandbox/styles.css" /> | |||
{|class = "title" | |||
|<h2>Resources</h2> | |||
|} | |||
{| class = "tmp-cnt" | |||
|<i>{{{Source}}}</i> {{#if: {{{1}}} | by <b>{{{1}}}</b> | }} {{#if: {{{2}}} | from {{{2}}} }} | |||
|} | |||
<!--Having all Params be required makes it so broken syntax doesn't show up when using template--> | |||
<noinclude> | <noinclude> | ||
{{ | <templatedata> | ||
{ | |||
"params": { | |||
"1": { | |||
"description": "Name of Author", | |||
"example": "Rick Riordan", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"2": { | |||
"description": "Name of Company", | |||
"example": "NASA; ", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"Source": { | |||
"description": "Link or Article", | |||
"required": true | |||
} | |||
}, | |||
"description": "This is an example template for citations.", | |||
"paramOrder": [ | |||
"Source", | |||
"1", | |||
"2" | |||
] | |||
} | |||
</templatedata> | |||
</noinclude> | </noinclude> | ||
Latest revision as of 18:13, 26 April 2024
Resources |
{{{Source}}} by {{{1}}} from {{{2}}} |
This is an example template for citations.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Source | Source | Link or Article | Unknown | required |
1 | 1 | Name of Author
| String | required |
2 | 2 | Name of Company
| String | required |