Template:Sandbox: Difference between revisions

From OnTrackNorthAmerica
No edit summary
No edit summary
 
(19 intermediate revisions by the same user not shown)
Line 1: Line 1:
<!--Actual template-->
<templatestyles src = "Template:Sandbox/styles.css" />
{{{Source}}} by {{{1}}} from {{{2}}}


<!--functions, params, ect., ect...-->
{|class = "title"
{{#if: {{{1}}} | from {{{1}}} | }}
|<h2>Resources</h2>
{{#if: {{{2}}} | from {{{2}}} | }}
|}


{| 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>
<templatedata>
Line 14: Line 18:
"example": "Rick Riordan",
"example": "Rick Riordan",
"type": "string",
"type": "string",
"suggested": true
"required": true
},
},
"2": {
"2": {
"description": "Name of Company",
"description": "Name of Company",
"example": "NASA; ",
"example": "NASA; ",
"type": "string"
"type": "string",
            "required": true
},
},
"Source": {
"Source": {
Line 26: Line 31:
}
}
},
},
"description": "This is an example template for citations."
"description": "This is an example template for citations.",
"paramOrder": [
"Source",
"1",
"2"
]
}
}
</templatedata>
</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.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
SourceSource

Link or Article

Unknownrequired
11

Name of Author

Example
Rick Riordan
Stringrequired
22

Name of Company

Example
NASA;
Stringrequired