Template:Sandbox: Difference between revisions
From OTNA Test Wiki
| No edit summary | No edit summary | ||
| (9 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| <templatestyles src =  | <templatestyles src = "Template:Sandbox/styles.css" /> | ||
| {|class = "title" | |||
| < | |<h2>Resources</h2> | ||
| |} | |||
| </ | |||
| {| class = "tmp-cnt" | |||
| {{{Source}}} {{#if: {{{1}}} | by {{{1}}} |  }} {{#if: {{{2}}} | from {{{2}}}  | |<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> | <templatedata> | ||
| { | { | ||
| Line 19: | Line 18: | ||
| 			"example": "Rick Riordan", | 			"example": "Rick Riordan", | ||
| 			"type": "string", | 			"type": "string", | ||
| 			" | 			"required": true | ||
| 		}, | 		}, | ||
| 		"2": { | 		"2": { | ||
| 			"description": "Name of Company", | 			"description": "Name of Company", | ||
| 			"example": "NASA; ", | 			"example": "NASA; ", | ||
| 			"type": "string" | 			"type": "string", | ||
|             "required": true | |||
| 		}, | 		}, | ||
| 		"Source": { | 		"Source": { | ||
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 | 
