Category:Includes raw templates: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 10: Line 10:


{{MdCodeBlock|outline|<nowiki><div id="Template:MdCodeBlock" style="background-color: rgba(0,0,0,.3); border-radius: 4px; overflow: auto; font-family: monospace; font-size: 1.2em; line-height: 1.125rem; text-indent: 0; white-space: pre-wrap; padding: .5em; margin-top: 6px;">Hello World</div></nowiki>}}
{{MdCodeBlock|outline|<nowiki><div id="Template:MdCodeBlock" style="background-color: rgba(0,0,0,.3); border-radius: 4px; overflow: auto; font-family: monospace; font-size: 1.2em; line-height: 1.125rem; text-indent: 0; white-space: pre-wrap; padding: .5em; margin-top: 6px;">Hello World</div></nowiki>}}
{{MdCode|outline|<nowiki>id="Template:Name"</nowiki>}} can be used to identify the template from which the code was taken. A completely optional atribute, but desirable if you used the raw version of the template.

Revision as of 01:28, 31 July 2022

This category contains pages that, due to a limitation of the engine, use template content instead of using templates themselves. Below are small examples of what it looks like.


Template:

Template:MdCodeBlock


Raw Template:

Template:MdCodeBlock

id="Template:Name" can be used to identify the template from which the code was taken. A completely optional atribute, but desirable if you used the raw version of the template.

Pages in category "Includes raw templates"

This category contains only the following page.