Template:Organization category: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(Added Packages and Management)
Line 6: Line 6:
|[[File:Organization Cover - {{{name|}}}.{{#switch:{{{avatar format|}}}|jpg=jpg|png}}|link=]]
|[[File:Organization Cover - {{{name|}}}.{{#switch:{{{avatar format|}}}|jpg=jpg|png}}|link=]]
|{{#if:{{PROTECTIONEXPIRY:edit|File:Organization Cover - {{{name|}}}.jpg}}|[[File:Organization Cover - {{{name|}}}.jpg|link=]]|}}}}
|{{#if:{{PROTECTIONEXPIRY:edit|File:Organization Cover - {{{name|}}}.jpg}}|[[File:Organization Cover - {{{name|}}}.jpg|link=]]|}}}}
</div>
<div style="pointer-events:all; text-transform:none; position:absolute; margin-top:6px; right:6px">
<center class="mw-customtoggle-management" style="display:flex; align-items:center; background-color:#262626; border:1px solid #65635F; border-radius:3px; user-select:none; padding:2px 3px; margin:0 auto"><!--
-->[[File:icon-settings-filled.png|15px|link=]]
</center>
<div class="mw-collapsible mw-collapsed plainlinks" id="mw-customcollapsible-management" style="display:none; overflow:hidden; background:#404040; border:1px solid #545454; border-radius:4px; box-shadow:0 10px 20px rgb(0,0,0,.3); position:absolute; z-index:1001; right:0; top:24px">
<div style="display:flex; flex-direction:column; gap:3px; overflow-y:auto; max-height:200px; white-space:nowrap; padding:2px 6px">
<div style="color:#FFF;">'''{{Software page/strings|Management}}'''</div>
<div>{{Software page/strings|Cover}}: [[:File:Organization Cover - {{{filename|{{{name|}}}}}}.jpg|{{Code|JPG}}]], [[:File:Organization Cover - {{{filename|{{{name|}}}}}}.png|{{Code|PNG}}]]</div>
<div>{{Organization category/strings|Avatar}}: [[:File:Organization Avatar - {{{filename|{{{name|}}}}}}.jpg|{{Code|JPG}}]], [[:File:Organization Avatar - {{{filename|{{{name|}}}}}}.png|{{Code|PNG}}]]</div>
</div>
</div>
</div>
</div>
</div>
</div>
Line 22: Line 34:
{{#if:{{{text|}}}|<div style="margin-bottom:clamp(8px, 2vw, 30px)">{{{text}}}</div>|}}
{{#if:{{{text|}}}|<div style="margin-bottom:clamp(8px, 2vw, 30px)">{{{text}}}</div>|}}
<div style="display:flex; gap:10px"><!--
<div style="display:flex; gap:10px"><!--
-->{{#if:{{PROTECTIONEXPIRY:edit|Category:{{{name|}}}}} | [[:Category:{{{name|}}}|<span style="{{#ifeq:{{FULLPAGENAME}}|Category:{{{name|}}}|background:#404040; border:1px solid #606060; color:#FFF|background:#323232; border:1px solid #404040; color:#C9C9C9}}; border-radius:2px; font-size:1.1em; padding:4px 6px">Everything</span>]] |}}<!--
-->{{#if:{{PROTECTIONEXPIRY:edit|Category:{{{name|}}}}} | [[:Category:{{{name|}}}|<span style="{{#ifeq:{{FULLPAGENAME}}|Category:{{{name|}}}|background:#404040; border:1px solid #606060; color:#FFF|background:#323232; border:1px solid #404040; color:#C9C9C9}}; border-radius:2px; font-size:1.1em; padding:4px 6px">{{Organization category/strings|Everything}}</span>]] |}}<!--
 
-->{{#if:{{PROTECTIONEXPIRY:edit|Category:{{{name|}}} games}} | [[:Category:{{{name|}}} games|<span style="{{#ifeq:{{FULLPAGENAME}}|Category:{{{name|}}} games|background:#404040; border:1px solid #606060; color:#FFF|background:#323232; border:1px solid #404040; color:#C9C9C9}}; border-radius:2px; font-size:1.1em; padding:4px 6px">{{Organization category/strings|Games}}</span>]] |}}<!--


-->{{#if:{{PROTECTIONEXPIRY:edit|Category:{{{name|}}} games}} | [[:Category:{{{name|}}} games|<span style="{{#ifeq:{{FULLPAGENAME}}|Category:{{{name|}}} games|background:#404040; border:1px solid #606060; color:#FFF|background:#323232; border:1px solid #404040; color:#C9C9C9}}; border-radius:2px; font-size:1.1em; padding:4px 6px">Games</span>]] |}}<!--
-->{{#if:{{PROTECTIONEXPIRY:edit|Category:{{{name|}}} mods}} | [[:Category:{{{name|}}} mods|<span style="{{#ifeq:{{FULLPAGENAME}}|Category:{{{name|}}} mods|background:#404040; border:1px solid #606060; color:#FFF|background:#323232; border:1px solid #404040; color:#C9C9C9}}; border-radius:2px; font-size:1.1em; padding:4px 6px">{{Organization category/strings|Mods}}</span>]] |}}<!--


-->{{#if:{{PROTECTIONEXPIRY:edit|Category:{{{name|}}} mods}} | [[:Category:{{{name|}}} mods|<span style="{{#ifeq:{{FULLPAGENAME}}|Category:{{{name|}}} mods|background:#404040; border:1px solid #606060; color:#FFF|background:#323232; border:1px solid #404040; color:#C9C9C9}}; border-radius:2px; font-size:1.1em; padding:4px 6px">Mods</span>]] |}}<!--
-->{{#if:{{PROTECTIONEXPIRY:edit|Category:{{{name|}}} tools}} | [[:Category:{{{name|}}} tools|<span style="{{#ifeq:{{FULLPAGENAME}}|Category:{{{name|}}} tools|background:#404040; border:1px solid #606060; color:#FFF|background:#323232; border:1px solid #404040; color:#C9C9C9}}; border-radius:2px; font-size:1.1em; padding:4px 6px">{{Organization category/strings|Tools}}</span>]] |}}<!--


-->{{#if:{{PROTECTIONEXPIRY:edit|Category:{{{name|}}} tools}} | [[:Category:{{{name|}}} tools|<span style="{{#ifeq:{{FULLPAGENAME}}|Category:{{{name|}}} tools|background:#404040; border:1px solid #606060; color:#FFF|background:#323232; border:1px solid #404040; color:#C9C9C9}}; border-radius:2px; font-size:1.1em; padding:4px 6px">Tools</span>]] |}}
-->{{#if:{{PROTECTIONEXPIRY:edit|Category:{{{name|}}} packages}} | [[:Category:{{{name|}}} packages|<span style="{{#ifeq:{{FULLPAGENAME}}|Category:{{{name|}}} packages|background:#404040; border:1px solid #606060; color:#FFF|background:#323232; border:1px solid #404040; color:#C9C9C9}}; border-radius:2px; font-size:1.1em; padding:4px 6px">{{Organization category/strings|Packages}}</span>]] |}}
</div></onlyinclude></includeonly>
</div></onlyinclude></includeonly>

Revision as of 11:57, 14 April 2023

English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Suomi (fi)Hrvatski (hr)Magyar (hu)Italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)Svenska (sv)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(臺灣) (zh-tw)
Curly brackets white.pngTemplate Documentation [view] [edit]
Icon-translate.png Available doc translations
View
Page history
Icon-translate.png
This template uses a strings subpage
Please follow the format on this subpage(s) to add translations.
Note.pngNote:Work is suspended.
Note.pngNote:At the moment, the template is very simple.

Parameters

  • {{{name}}} - The name of the organization. If specified, the template will find all the necessary images and display buttons for switching between organization categories.
  • {{{filename}}} - A short name in case files cannot use the full name due to system restrictions.
  • {{{text}}} - Your text.
  • {{{cover opacity}}} - Cover opacity.
  • {{{avatar format}}} - Overwrites PNG to JPG for avatar. It is needed for cases when you consider JPG more preferable.
  • {{{about}}} - links to the about page, if the value is true then it uses {{{name}}}.
  • {{{tagline}}} – A brief sentence describing what the organization does or creates.

Translations

To add any translations, visit the /strings page.

Usage

{{Organization category | name = Valve | about = true | tagline = We make games, Steam, and hardware. | text = Articles related to [[Valve]] but not necessarily development, such Valve as a company, and its employees, business topics including licensing, and software not intended for development. }}


Organization Cover - Valve.jpg
Icon-settings-filled.png
Articles related to Valve but not necessarily development, such Valve as a company, and its employees, business topics including licensing, and software not intended for development.