User:THE OWL/Sandbox: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
Tag: New redirect
Line 1: Line 1:
{{DISPLAYTITLE:THE OWL's Sandbox}}
#REDIRECT [[User:THE_OWL/Sandbox/UI_Kit/Monolith]]
'''Welcome to [[{{NAMESPACE}}:{{ROOTPAGENAME}}|THE OWL]]'s sandbox!''' Here he creates templates, articles and much more that is not yet completed enough to be published. If you want to change something in this sandbox, just do it.
 
 
{{toc|style=display:inline-flex; box-shadow:0 0 80px rgb(0 0 0 / 80%); border-radius:.4em; pointer-events:all; overflow:hidden; position:relative|background style = background-image:linear-gradient(135deg, transparent, rgba(0, 0, 0, 0.25)); border-radius:inherit; border:1px solid #686868; box-shadow:inset 0 0 3px rgb(0 0 0 / 60%);}}
 
== Entire Wiki ==
* [[{{FULLPAGENAME}}/UI Kit/Monolith|<span style="background-image:linear-gradient(135deg, rgba(94 137 219 / 17%), rgba(255 255 255 / 2%)); border:1px solid rgba(255, 255, 255, 0.1); border-radius: .8em; padding:.25em .6em">User Interface Kit – Monolith</span>]]
 
== Articles ==
* [[{{FULLPAGENAME}}/Future version of the article|<span style="background-image:linear-gradient(135deg, rgba(94 137 219 / 17%), rgba(255 255 255 / 2%)); border:1px solid rgba(255, 255, 255, 0.1); border-radius: .8em; padding:.25em .6em">Future version of the article</span>]]
 
 
* [[{{FULLPAGENAME}}/Translation progress|<span style="background-image:linear-gradient(135deg, rgba(94 137 219 / 17%), rgba(255 255 255 / 2%)); border:1px solid rgba(255, 255, 255, 0.1); border-radius: .8em; padding:.25em .6em">Valve Developer Community:Translation progress</span>]]
 
== Outputs, Inputs, Flags template ==
'''Description:''' Compact list with switchable description on the right.
 
'''Status:''' <span style="background-image:linear-gradient(135deg, rgba(219 158 94 / 17%), rgba(255 255 255 / 2%)); border:1px solid rgba(255, 255, 255, 0.1); border-radius: .3em; color:#FFDA69; padding:.25em .6em">Work in Progress</span>
 
'''Actions:''' [[/Templates/OIF|<span style="background-image:linear-gradient(135deg, rgba(94 137 219 / 17%), rgba(255 255 255 / 2%)); border:1px solid rgba(255, 255, 255, 0.1); border-radius: .8em; padding:.25em .6em">View the Base</span>]]
 
'''Preview:'''
<div style="box-shadow:0 10px 32px rgba(0 0 0 / 25%); background-image:linear-gradient(135deg, rgb(255 255 255 / 3%), transparent); border:1px solid rgb(255 255 255 / 6%); border-radius:.4em; padding:.4em .8em">
 
{{:{{FULLPAGENAME}}/Templates/OIF
 
| target = Outputs
 
| item 1 = OnMapSpawn
| item 1 desc = Fired shortly after the entity spawns (including loading saves).
{{Bug|{{tf2}} Also fires when a new round starts}}
 
| item 2 = OnNewGame
| item 2 desc = Fired when the map is loaded to start a new game.
 
| item 3 = OnLoadGame
| item 3 desc = Fired when the map is loaded from a saved game.
 
| item 4 = OnMapTransition
| item 4 desc = Fired when the map is loaded due to a level transition.
 
| item 5 = OnBackgroundMap
| item 5 desc = Fired when the map is loaded as a background to the main menu using {{ent|map_background}}.
 
| item 6 = OnMultiNewMap
| item 6 desc = Fired shortly after the entity spawns but only in multiplayer and if the round wasn't restarted
 
| item 7 = OnMultiNewRound
| item 7 desc = Fired shortly after the entity spawns but only in multiplayer and if round was restarted
{{Warning|{{tf}} Does not get fired when tournament mode is enabled (mp_tournament 1). Use OnMapSpawn instead}}
 
| item 8 = OnViolenceLow
| item 8 desc = <div> {{only|{{sineps}}}} </div> Fired when the map is loaded for any reason if the game is in low-violence mode.
 
| item 9 = OnViolenceHigh
| item 9 desc = <div> {{only|{{sineps}}}} </div> Fired when the map is loaded for any reason if the game is not in low-violence mode.
 
}}
 
</div>
 
== Inline user template ==
 
'''Description:''' Just an idea.
 
'''Status:''' <span style="background-image:linear-gradient(135deg, rgba(219 94 94 / 17%), rgba(255 255 255 / 2%)); border:1px solid rgba(255, 255, 255, 0.1); border-radius: .3em; color:#FF7069; padding:.25em .6em">Unreleased</span>
 
'''Preview:'''
 
<div style="box-shadow:0 10px 32px rgba(0 0 0 / 25%); background-image:linear-gradient(135deg, rgb(255 255 255 / 3%), transparent); border:1px solid rgb(255 255 255 / 6%); border-radius:.4em; padding:.4em .8em">
 
* I'm <span style="background-color:rgba(50, 84, 188,.6); border-radius:2px; white-space:nowrap; padding:2px 3px 1px 4px"><span style="pointer-events:none; user-select:none; margin-right:.3em">[[File:icon-user.png|baseline|8px|link=]]</span>'''[[User:THE OWL|<font style="color:rgba(255,255,255,.85)">THE OWL</font>]]'''</span>. Who are you?
 
* I'm <span style="background-color:rgba(50, 84, 188,.6); border-radius:2px; white-space:nowrap; padding:2px 4px 1px 4px">'''[[User:THE OWL|<font style="color:rgba(255,255,255,.85)">THE OWL</font>]]'''</span>. Who are you?
 
* Hi, this is <span style="background-color:rgba(225, 75, 75,.35); border-radius:2px; white-space:nowrap; padding:2px 3px 1px 3px">'''[[User:Gabe Newell|<font style="color:rgba(255,255,255,.9)">Gabe Newell</font>]]''' <span style="pointer-events:none; user-select:none; position:relative; margin-right:.3em; bottom:-1px">[[File:Valve icon.png|baseline|13px|link=]]</span></span>. I work at Valve.
 
* Hi, this is <span style="background-color:rgba(225, 75, 75,.35); border-radius:2px; white-space:nowrap; padding:2px 3px 1px 3px"><span style="pointer-events:none; user-select:none; position:relative; margin-right:.3em; bottom:-1px">[[File:Valve icon.png|baseline|13px|link=]]</span>'''[[User:Gabe Newell|<font style="color:rgba(255,255,255,.9)">Gabe Newell</font>]]'''</span>. I work at Valve.
 
* Hi, this is <span style="background-color:rgba(225, 75, 75,.4); border-radius:2px; white-space:nowrap; padding:2px 3px 1px 3px"><span style="pointer-events:none; user-select:none; margin-right:.3em">[[File:icon-user.png|baseline|8px|link=]]</span>'''[[User:Gabe Newell|<font style="color:rgba(255,255,255,.9)">Gabe Newell</font>]]'''</span>. I work at Valve.
 
* Hi, this is <span style="background-color:rgba(225, 75, 75,.4); border-radius:2px; white-space:nowrap; padding:2px 4px 1px 4px">'''[[User:Gabe Newell|<font style="color:rgba(255,255,255,.9)">Gabe Newell</font>]]'''</span>. I work at Valve.
 
<hr style="opacity:.3; margin:10px 0">
 
* I'm <b style="white-space:nowrap; background-color:rgba(50, 84, 188,.6); border-radius:2px; padding:2px 3px 1px 3px"><span style="user-select:none; pointer-events:none; padding-right:3px">[[File:Icon-user.png|baseline|link=|8px]]</span>[[User:THE OWL|<font style="color:#DFE7FF">THE OWL</font>]]</b>. Who are you?
 
* Hi, this is <b style="white-space:nowrap; background-color:rgba(225, 75, 75,.4); border-radius:2px; padding:2px 3px 1px 3px"><span style="user-select:none; pointer-events:none; padding-right:3px">[[File:Icon-user.png|baseline|link=|8px]]</span>[[User:Gabe Newell|<font style="color:#DFE7FF">Gabe Newell</font>]]</b>. I work at Valve.
 
</div>
 
== Inline path template ==
'''Status:''' [[Template:Path|<span style="background-image:linear-gradient(135deg, rgba(121 219 94 / 17%), rgba(255 255 255 / 2%)); border:1px solid rgba(255, 255, 255, 0.1); border-radius: .8em; color:#A6FF69; padding:.25em .6em">Released</span>]]
 
'''Actions:''' [[/Templates/Path|<span style="background-image:linear-gradient(135deg, rgba(94 137 219 / 17%), rgba(255 255 255 / 2%)); border:1px solid rgba(255, 255, 255, 0.1); border-radius: .8em; padding:.25em .6em">View the Base</span>]]
 
'''Preview:'''
 
<div style="box-shadow:0 10px 32px rgba(0 0 0 / 25%); background-image:linear-gradient(135deg, rgb(255 255 255 / 3%), transparent); border:1px solid rgb(255 255 255 / 6%); border-radius:.4em; padding:.4em .8em">
 
The magic folder of the game is located in {{:{{FULLPAGENAME}}/Templates/Path|C:\Program Files\Steam\steamapps\common\half-life 2}}.
 
The magic executable file is located in {{:{{FULLPAGENAME}}/Templates/Path|C:\Program Files\Steam\steamapps\common\half-life 2|hl2.exe}}.
 
The magic folder is located in {{:{{FULLPAGENAME}}/Templates/Path|select=all|%appdata%\discord}}.
 
The magic file is located in {{:{{FULLPAGENAME}}/Templates/Path|select=all|%appdata%\discord|badge-1.ico}}.
 
</div>
 
== New version of the Software template ==
'''Description:''' An attempt to improve the {{tl|link=Software}} template. The work is not finished yet.
 
'''Status:''' <span style="background-image:linear-gradient(135deg, rgba(219 94 94 / 17%), rgba(255 255 255 / 2%)); border:1px solid rgba(255, 255, 255, 0.1); border-radius: .3em; color:#FF7069; padding:.25em .6em">Unreleased</span>
 
'''Actions:''' [[/Templates/Software|<span style="background-image:linear-gradient(135deg, rgba(94 137 219 / 17%), rgba(255 255 255 / 2%)); border:1px solid rgba(255, 255, 255, 0.1); border-radius: .8em; padding:.25em .6em">View the Base<span>]]&ensp;·&ensp;[[/Templates/Software/Child|<span style="background-image:linear-gradient(135deg, rgba(94 137 219 / 17%), rgba(255 255 255 / 2%)); border:1px solid rgba(255, 255, 255, 0.1); border-radius: .8em; padding:.25em .6em">View Child</span>]]
 
'''Examples and Preview:'''
 
<div style="box-shadow:0 10px 32px rgba(0 0 0 / 25%); background-image:linear-gradient(135deg, rgb(255 255 255 / 3%), transparent); border:1px solid rgb(255 255 255 / 6%); border-radius:.4em; padding:.4em .8em">
 
{| class="standard-table"
|- style="position:sticky; z-index:10; top:0"
! Example
! Preview
|-
| align="center" style="padding:5px" | {{Code|<nowiki>{{csgo}}</nowiki>}}
| style="padding:5px" | {{:{{FULLPAGENAME}}/Templates/Software/Child}}
|-
| align="center" style="padding:5px" | {{Code|<nowiki>{{csgo|0}}</nowiki>}}
| style="padding:5px" | {{:{{FULLPAGENAME}}/Templates/Software/Child|0}}
|-
| align="center" style="padding:5px" | {{Code|<nowiki>{{csgo|2}}</nowiki>}}
| style="padding:5px" | {{:{{FULLPAGENAME}}/Templates/Software/Child|2}}
|-
| align="center" style="padding:5px" | {{Code|<nowiki>{{csgo|3}}</nowiki>}}
| style="padding:5px" | {{:{{FULLPAGENAME}}/Templates/Software/Child|3}}
|-
| align="center" style="padding:5px" | {{Code|<nowiki>{{csgo|4}}</nowiki>}}
| style="padding:5px" | {{:{{FULLPAGENAME}}/Templates/Software/Child|4}}
|-
| align="center" style="padding:5px" | {{Code|<nowiki>{{csgo|5}}</nowiki>}}
| style="padding:5px" | {{:{{FULLPAGENAME}}/Templates/Software/Child|5}}
|-
| align="center" style="padding:5px" | {{Code|<nowiki>{{csgo|icon}}</nowiki>}}
| style="padding:5px" | {{:{{FULLPAGENAME}}/Templates/Software/Child|icon}}
|-
| align="center" style="padding:5px" | {{Code|<nowiki>{{csgo|icon|2}}</nowiki>}}
| style="padding:5px" | {{:{{FULLPAGENAME}}/Templates/Software/Child|icon|2}}
|-
| align="center" style="padding:5px" | {{Code|<nowiki>{{csgo|icon|3}}</nowiki>}}
| style="padding:5px" | {{:{{FULLPAGENAME}}/Templates/Software/Child|icon|3}}
|-
| align="center" style="padding:5px" | {{Code|<nowiki>{{csgo|color}}</nowiki>}}
| style="padding:5px" | {{:{{FULLPAGENAME}}/Templates/Software/Child|color}}
|}
 
{| class="standard-table"
| align="center" style="padding:5px" | {{CodeBlock|<nowiki>{{csgo| addtext:before = The legendary | addtext:after = looks weird, but we even like it. }}</nowiki>}}
|-
| bgcolor="#303030" style="padding:5px" | {{:{{FULLPAGENAME}}/Templates/Software/Child| addtext:before = The legendary | addtext:after = looks weird, but we even like it. }}
|}
 
{| class="standard-table"
| align="center" style="padding:5px" | {{CodeBlock|<nowiki>{{csgo| 5 | addtext:before = The legendary | addtext:after = looks weird, but we even like it. }}</nowiki>}}
|-
| bgcolor="#303030" style="padding:5px" | {{:{{FULLPAGENAME}}/Templates/Software/Child| 5 | addtext:before = The legendary | addtext:after = looks weird, but we even like it. }}
|}
 
{| class="standard-table"
| align="center" style="padding:5px" | {{CodeBlock|<nowiki>{{csgo| icon | 3 | addtext:before = {{cs|icon}} {{css|icon}} | addtext:after = {{cs2|icon}} }}</nowiki>}}
|-
| bgcolor="#303030" style="padding:5px" | {{:{{FULLPAGENAME}}/Templates/Software/Child| icon | 3 | addtext:before = {{cs}} {{css}} | addtext:after = {{cs2}} }}
|}
 
<hr>
 
[[File:csgo.png|thumb]]
[[File:csgo.png|thumb]]
 
{{Lorem ipsum}} {{:{{FULLPAGENAME}}/Templates/Software/Child|4}} ({{Code|{{:{{FULLPAGENAME}}/Templates/Software/Child|color}}}}) {{Lorem ipsum}} {{:{{FULLPAGENAME}}/Templates/Software/Child|icon}} {{:{{FULLPAGENAME}}/Templates/Software/Child|0}} {{Lorem ipsum}} {{:{{FULLPAGENAME}}/Templates/Software/Child|2}} {{Lorem ipsum}} {{:{{FULLPAGENAME}}/Templates/Software/Child}} {{Lorem ipsum}}
 
<hr>
 
# {S} {{:{{FULLPAGENAME}}/Templates/Software/Child|icon}} {C} {{:{{FULLPAGENAME}}/Templates/Software/Child|2}} {E}
# {S} {{:{{FULLPAGENAME}}/Templates/Software/Child|4}} {E}
 
* {S} {{:{{FULLPAGENAME}}/Templates/Software/Child|icon}} {C} {{:{{FULLPAGENAME}}/Templates/Software/Child|2}} {E}
 
<hr>
 
# {S} {{csgo}} {C} {{csgo|3.1}} {E}
# {S} {{csgo|4}} {E}
 
* {S} {{csgo}} {C} {{csgo|3.1}} {E}
 
</div>

Revision as of 14:56, 27 May 2024