Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Codeblock: Difference between revisions

Template page
NinjaV (talk | contribs)
mNo edit summary
VivaRomania (talk | contribs)
mNo edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
See Also: [[Template:Code]]
<div style="max-width:{{{width|unset}}}; overflow:hidden;background-color:{{#switch:{{{style|}}}|1=rgba(241, 233, 203, 1)|rgba(241, 233, 203, 1)}};{{#switch:{{{style|}}}|1=border:1px solid rgba(48,48,48,1);|}}border-radius:4px; font-family:monospace,monospace; color: black; line-height:1.52rem<!--lines-->; text-indent:0; white-space:pre-wrap; margin: {{{margin|.3em 0 .3em 0}}}"><!--
<includeonly>
             -->{{#if:{{{src|{{{lang|}}}}}}|<div style="width=100%; display:flex;justify-content:space-between;background-color:rgba(88, 58, 49, 1);
 
<onlyinclude><!--
        --><div style="max-width:{{{width|unset}}}; overflow:hidden;background-color:{{#switch:{{{style|}}}|1=rgba(241, 233, 203, 1)|rgba(241, 233, 203, 1)}};{{#switch:{{{style|}}}|1=border:1px solid rgba(48,48,48,1);|}}border-radius:4px; font-family:monospace,monospace; color: black; line-height:1.52rem<!--lines-->; text-indent:0; white-space:pre-wrap; margin: {{{margin|.3em 0 .3em 0}}}"><!--
             -->{{#if:{{{src|{{{lang|}}}}}}|<div style="max-width:{{{width|unset}}}; display:flex;justify-content:space-between;background-color:rgba(88, 58, 49, 1);
border-bottom:1px solid rgba(164, 145, 126, 1); font-family:monospace,monospace; color: white; line-height:1.125rem<!--header-->; text-indent:0; white-space:pre-wrap; padding:.5em"><!--
border-bottom:1px solid rgba(164, 145, 126, 1); font-family:monospace,monospace; color: white; line-height:1.125rem<!--header-->; text-indent:0; white-space:pre-wrap; padding:.5em"><!--
--><!--
--><!--
Line 44: Line 40:
             --></div><!--
             --></div><!--
--><!--
--><!--
         --></div></onlyinclude>
         --></div>
 
<noinclude>
</includeonly>
 
== Documentation ==
== Documentation ==
Just go to Valve Dev Community for their documentation, only difference is formatting (styling).
Just go to Valve Dev Community for their documentation, only difference is formatting (styling).
Line 81: Line 75:
height=250px| <!--cannot be percentage-->
height=250px| <!--cannot be percentage-->
width=25%|
width=25%|
lang=txt|
<nowiki>A1
<nowiki>A1
B2
B2
Line 99: Line 94:


[[Category:Layout templates]]
[[Category:Layout templates]]
</noinclude>