Template:Organization category: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
{{Doc}}
{{Doc}}
<includeonly><onlyinclude>
<includeonly><onlyinclude>
<div style="display:flex; justify-content:center; width:100%; height:230px; background:#202020; border-radius:4px; overflow:hidden; position:relative">
<div style="display:flex; justify-content:center; width:100%; height:230px; background:#191919; border-radius:4px; overflow:hidden; position:relative">
<div style="user-select:none; position:absolute">[[File:Organization Cover - {{{name|}}}.{{{cover format|jpg}}}|link=]]</div>
<div style="user-select:none; position:absolute"><!--
-->{{#if:{{PROTECTIONEXPIRY:edit|File:{{{filename|Organization Cover - {{{name|}}}}}}.png}}
|[[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=]]|}}}}
</div>
</div>
</div>
<div style="display:flex; align-items:center; gap:0 clamp(8px, 2vw, 30px); position:relative; padding:0 clamp(8px, 2vw, 30px); margin-top:-92px">
<div style="display:flex; align-items:center; gap:0 clamp(8px, 2vw, 30px); position:relative; padding:0 clamp(8px, 2vw, 30px); margin-top:-92px">
<div style="display:flex; justify-content:center; align-items:center; width:184px; height:184px; background:#202020; border-radius:4px; overflow:hidden">
<div style="display:flex; justify-content:center; align-items:center; width:184px; height:184px; background:#202020; border-radius:4px; overflow:hidden; position:relative">
<div style="user-select:none; position:absolute">[[File:Organization Avatar - {{{name|}}}.{{{avatar format|png}}}|link=]]</div>
<div style="user-select:none; position:absolute"><!--
-->{{#if:{{PROTECTIONEXPIRY:edit|File:{{{filename|Organization Avatar - {{{name|}}}}}}.png}}
|[[File:Organization Avatar - {{{name|}}}.{{#switch:{{{avatar format|}}}|jpg=jpg|png}}|link=]]
|{{#if:{{PROTECTIONEXPIRY:edit|File:Organization Avatar - {{{name|}}}.jpg}}|[[File:Organization Avatar - {{{name|}}}.jpg|link=]]|}}}}
</div>
</div>
</div>
<div style="background:#202020; border-radius:4px; font-size:32px; padding:10px 12px">{{{name|}}}</div>
<div style="background:#202020; border-radius:4px; font-size:32px; color:#F5F5F5; padding:10px 12px">{{{name|}}}</div>
</div></onlyinclude></includeonly>
</div></onlyinclude></includeonly>

Revision as of 03:21, 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
Organization Avatar - Valve.png
Valve