Category:Includes raw templates: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
This category contains pages that, due to a limitation of the engine, use template styles and tags instead of using templates themselves.
This category contains pages that, due to a limitation of the engine, use template styles and tags instead of using templates themselves.


For example, you wanted to insert an Markdown Quote template for a prettier view of the list of various functions and their descriptions, but the engine, due to its limitations, does not allow you to use this template on a huge amount of One-Line Code. After that you go to the Markdown Quote template page, take the basis in the form of {{MdCode|outline|<nowiki>div</nowiki>}} elements and insert into the article, thereby creating a raw template.
 
'''Template:'''
 
{{MdCodeBlock|outline|<nowiki>{{MdCodeBlock|outline|Hello World}}</nowiki>}}
 
 
'''Raw Template (elements taken from the template and placed in the article):'''
 
{{MdCodeBlock|outline|<nowiki><div 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>}}

Revision as of 23:35, 30 July 2022

This category contains pages that, due to a limitation of the engine, use template styles and tags instead of using templates themselves.


Template:

Template:MdCodeBlock


Raw Template (elements taken from the template and placed in the article):

Template:MdCodeBlock

Pages in category "Includes raw templates"

This category contains only the following page.