User:N0one/Sandbox: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(51 intermediate revisions by the same user not shown)
Line 3: Line 3:
''Sandbux''.
''Sandbux''.


== Test templates ==
Experimenting...
Gets the date from the parameters and it calculates from the current time (Both are firstly converted to Seattle, WA time), once the deadline hits it is auto added to the [[:Category:CFSD Past Deadline]].


{{User:N0one/Sandbox/template|day=9|month=4|year=2025|reason=An important reason (required).}}
<pre>
{{bug|test}} test {{bugNotice|test}} test
{{clarify|test}} test {{confirm|test}} test {{elaborate|test}} test {{todo|test}} test {{when|test}} test {{where|test}} test {{which|test}} test {{why|test}} test
{{fix|test}} test
{{code fix|test}} test
{{deprecated|test}} test
{{important|test}} test
{{note|test}} test
{{placement tip|test}} test
{{placementTip|test}} test
{{question|test}} test
{{tip|test}} test
{{warning|test}} test
{{workaround|test}} test
{{clarify|test {{code fix|test}} test}} test
{{clarify|test {{code fix|test {{warning|test}} test}} test}} test
{{todo|test {{code fix|test {{warning|test {{important|test {{placementTip|test {{question|test {{workaround|test}} test}} test}} test}} test}} test}} test}} test
{{todo|test {{code fix|test {{warning|test {{important|test {{placementTip|test {{question|test {{workaround|test}}}}}}}}}}}}}} test
 
{{#if:{{{frame|}}}|<div style="background:{{{frame bg|{{#switch:{{{theme|}}}| dark = #0f0f0f | #default = #232323 }}}}}; box-shadow:0 5px 10px rgba(0,0,0,.5); border-radius:{{{radius frame cover|{{#switch:{{{style|}}}|1=6px|1em}} }}}; display:flow-root; padding:{{{padding frame cover|{{#switch:{{{style|}}}|1=0.5px|1em}}}}}; "></div>
|
}}
 
{{#if:{{{frame|}}}
|<div style="background:{{{frame bg|{{#switch:{{{theme|}}}| dark = #0f0f0f | #default = #232323 }}}}}; box-shadow:0 5px 10px rgba(0,0,0,.5); border-radius:{{{radius frame cover|{{#switch:{{{style|}}}|1=6px|1em}} }}}; display:flow-root; padding:{{{padding frame cover|{{#switch:{{{style|}}}|1=0.5px|1em}}}}}; "></div>
|
}}
 
== Elements ==
<div>
<span></span>
<span>
</div>
 
<div style="background: #123ABC; box-shadow:0 5px 10px rgba(0,0,0,.5);" class="test"></div>
 
<syntaxhighlight>abc</syntaxhighlight>
<syntaxhighlight lang=cpp>abc</syntaxhighlight>
<syntaxhighlight lang="cpp">abc</syntaxhighlight>
 
&gt;
 
== Numbers ==
.123.345.678.9.0
123.345.678.9.0
 
== Headers ==
== Heading level 2 ==
=== Heading level 3 ===
==== Heading level 4 ====
 
== Links ==
[[Main Page]]
[[Valve Developer Community|VDC Wiki]]
[[User:Example]]
 
{{L|Main Page}}
{{L|Valve Developer Community|VDC Wiki}}
[[User:Example]]
 
[[File:Example.jpg|thumb|alt=Example image|Caption]]
[https://developer.valvesoftware.com/wiki Main Site]
[https://developer.valvesoftware.com/wiki]
https://developer.valvesoftware.com/wiki lorem
https://developer.valvesoftware.com/wiki
 
== Categories ==
{{ACategory|Mapping}}
{{ACategory|Source Engine}}
{{ACategory|Tutorials}}
 
[[Category:Mapping]]
[[Category:Source Engine]]
[[Category:Tutorials]]
 
== Templates ==
{{Infobox map
|name = Example Map
|game = Left 4 Dead 2
|author = User123
}}
 
{{quote|This is a nested template {{Italic|with italics}} inside.}}
 
{{KV|one|intn=abc|two|three}}
 
{{KV|1=one|intn=abc|two|three}}
 
{{KV|test {{=}} test|intn=abc|two|three}}
 
== Parser Functions and Magic Words ==
{{#if:{{{parameter|}}}|Parameter is set|Parameter is empty}}
 
{{#switch: {{{color|red}}}
| red = Red text
| blue = Blue text
| #default = Default color
}}
 
{{PAGENAME}}
{{REVISIONID}}
{{NUMBEROFARTICLES}}
 
{{CURRENTYEAR}}
{{CURRENTMONTHNAME}}
{{CURRENTTIME}}
 
== Variables / Parameters ==
{{{variable}}}
{{{variable|default value}}}
{{{variable|}}}
 
== HTML tags ==
<b>Bold Text</b>
<i>Italic Text</i>
<u>Underlined Text</u>
<nowiki>Raw text with &lt;tags&gt;</nowiki>
<div style="color:blue;">Styled Text</div>
<!-- Comment -->
 
== Lists ==
* Unordered list item 1
** Nested unordered item
# Numbered list item 1
## Nested numbered item
: Test
:: Test
; Test
;; Test
 
== Tables ==
{| class="wikitable" border="1"
! Header 1 !! Header 2 !! Header 3
|-
| Row 1, Cell 1 || Row 1, Cell 2 || Row 1, Cell 3
|-
| Row 2, Cell 1 || Row 2, Cell 2 || Row 2, Cell 3
|}
 
{| class="wikitable" border="1"
! Header 1
! Header 2
! Header 3
|-
| Row 1, Cell 1
| Row 1, Cell 2
| Row 1, Cell 3
|-
| Row 2, Cell 1
| Row 2, Cell 2
| Row 2, Cell 3
|}
 
== File inclusions ==
[[File:Example.png|thumb|200px|Example Image Caption]]
 
== Other ==
{{DISPLAYTITLE:Custom Page Title}}
{{TOCright}}
{{Anchor|top}}
 
== Show all character ==
Tab:
Spaces:         
Endl:
 
== More complex nested templates ==
{{#if:{{{param|}}}
  | {{bug|{{todo|{{important|value}}}}}}
  | No templates nested
}}
 
== HTML entities ==
&amp;
&lt;
&gt;
&quot;
&apos;
 
no wiki:
 
&amp;amp;
&amp;lt;
&amp;gt;
&amp;quot;
&amp;apos;
 
== Editor ==
Search test:
 
__REPLACE_1__
 
__REPLACE_2__
 
__REPLACE_ALL__
 
__REPLACE_ALL__
 
</pre>

Latest revision as of 13:48, 10 September 2025

To User:N0one/Sandbox/template for template testing.

Sandbux.

Experimenting...

{{bug|test}} test {{bugNotice|test}} test
{{clarify|test}} test {{confirm|test}} test {{elaborate|test}} test {{todo|test}} test {{when|test}} test {{where|test}} test {{which|test}} test {{why|test}} test
{{fix|test}} test
{{code fix|test}} test
{{deprecated|test}} test
{{important|test}} test
{{note|test}} test
{{placement tip|test}} test
{{placementTip|test}} test
{{question|test}} test
{{tip|test}} test
{{warning|test}} test
{{workaround|test}} test
{{clarify|test {{code fix|test}} test}} test
{{clarify|test {{code fix|test {{warning|test}} test}} test}} test
{{todo|test {{code fix|test {{warning|test {{important|test {{placementTip|test {{question|test {{workaround|test}} test}} test}} test}} test}} test}} test}} test
{{todo|test {{code fix|test {{warning|test {{important|test {{placementTip|test {{question|test {{workaround|test}}}}}}}}}}}}}} test

{{#if:{{{frame|}}}|<div style="background:{{{frame bg|{{#switch:{{{theme|}}}| dark = #0f0f0f | #default = #232323 }}}}}; box-shadow:0 5px 10px rgba(0,0,0,.5); border-radius:{{{radius frame cover|{{#switch:{{{style|}}}|1=6px|1em}} }}}; display:flow-root; padding:{{{padding frame cover|{{#switch:{{{style|}}}|1=0.5px|1em}}}}}; "></div>
|
}}

{{#if:{{{frame|}}}
|<div style="background:{{{frame bg|{{#switch:{{{theme|}}}| dark = #0f0f0f | #default = #232323 }}}}}; box-shadow:0 5px 10px rgba(0,0,0,.5); border-radius:{{{radius frame cover|{{#switch:{{{style|}}}|1=6px|1em}} }}}; display:flow-root; padding:{{{padding frame cover|{{#switch:{{{style|}}}|1=0.5px|1em}}}}}; "></div>
|
}}

== Elements ==
<div>
	<span></span>
	<span>
</div>

<div style="background: #123ABC; box-shadow:0 5px 10px rgba(0,0,0,.5);" class="test"></div>

<syntaxhighlight>abc</syntaxhighlight>
<syntaxhighlight lang=cpp>abc</syntaxhighlight>
<syntaxhighlight lang="cpp">abc</syntaxhighlight>

>

== Numbers ==
.123.345.678.9.0
123.345.678.9.0

== Headers ==
== Heading level 2 ==
=== Heading level 3 ===
==== Heading level 4 ====

== Links ==
[[Main Page]]
[[Valve Developer Community|VDC Wiki]]
[[User:Example]]

{{L|Main Page}}
{{L|Valve Developer Community|VDC Wiki}}
[[User:Example]]

[[File:Example.jpg|thumb|alt=Example image|Caption]]
[https://developer.valvesoftware.com/wiki Main Site]
[https://developer.valvesoftware.com/wiki]
https://developer.valvesoftware.com/wiki lorem
https://developer.valvesoftware.com/wiki

== Categories ==
{{ACategory|Mapping}}
{{ACategory|Source Engine}}
{{ACategory|Tutorials}}

[[Category:Mapping]]
[[Category:Source Engine]]
[[Category:Tutorials]]

== Templates ==
{{Infobox map
|name = Example Map
|game = Left 4 Dead 2
|author = User123
}}

{{quote|This is a nested template {{Italic|with italics}} inside.}}

{{KV|one|intn=abc|two|three}}

{{KV|1=one|intn=abc|two|three}}

{{KV|test {{=}} test|intn=abc|two|three}}

== Parser Functions and Magic Words ==
{{#if:{{{parameter|}}}|Parameter is set|Parameter is empty}}

{{#switch: {{{color|red}}}
 | red = Red text
 | blue = Blue text
 | #default = Default color
}}

{{PAGENAME}}
{{REVISIONID}}
{{NUMBEROFARTICLES}}

{{CURRENTYEAR}}
{{CURRENTMONTHNAME}}
{{CURRENTTIME}}

== Variables / Parameters ==
{{{variable}}}
{{{variable|default value}}}
{{{variable|}}}

== HTML tags ==
<b>Bold Text</b>
<i>Italic Text</i>
<u>Underlined Text</u>
Raw text with <tags>
<div style="color:blue;">Styled Text</div>
<!-- Comment -->

== Lists ==
* Unordered list item 1
** Nested unordered item
# Numbered list item 1
## Nested numbered item
: Test
:: Test
; Test
;; Test

== Tables ==
{| class="wikitable" border="1"
! Header 1 !! Header 2 !! Header 3
|-
| Row 1, Cell 1 || Row 1, Cell 2 || Row 1, Cell 3
|-
| Row 2, Cell 1 || Row 2, Cell 2 || Row 2, Cell 3
|}

{| class="wikitable" border="1"
! Header 1 
! Header 2 
! Header 3
|-
| Row 1, Cell 1 
| Row 1, Cell 2 
| Row 1, Cell 3
|-
| Row 2, Cell 1 
| Row 2, Cell 2 
| Row 2, Cell 3
|}

== File inclusions ==
[[File:Example.png|thumb|200px|Example Image Caption]]

== Other ==
{{DISPLAYTITLE:Custom Page Title}}
{{TOCright}}
{{Anchor|top}}

== Show all character ==
Tab: 			
Spaces:          
Endl: 

== More complex nested templates ==
{{#if:{{{param|}}}
  | {{bug|{{todo|{{important|value}}}}}}
  | No templates nested
}}

== HTML entities ==
& 
< 
> 
"
'

no wiki:

&amp; 
&lt; 
&gt; 
&quot;
&apos;

== Editor ==
Search test:

__REPLACE_1__

__REPLACE_2__

__REPLACE_ALL__

__REPLACE_ALL__