Template:Organization category: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Undo revision 386054 by NOUG4AT (talk))
Tag: Undo
m (Replaced 2 text with strings)
Line 2: Line 2:
<includeonly><onlyinclude>
<includeonly><onlyinclude>
<div style="display:flex; justify-content:center; width:100%; height:230px; background:#191919; box-shadow:0 0 60px rgba(0,0,0,.2); border-radius:4px; overflow:hidden; position:relative">
<div style="display:flex; justify-content:center; width:100%; height:230px; background:#191919; box-shadow:0 0 60px rgba(0,0,0,.2); border-radius:4px; overflow:hidden; position:relative">
<div style="background-image:linear-gradient(0deg, #D4D3D2, #E4E1DF); box-shadow:0 4px 15px rgba(0,0,0,.4), 0 10px 60px rgba(0,0,0,.7); border-bottom-right-radius:6px; border-bottom-left-radius:6px; color:#202020; position:absolute; z-index:10; padding: 6px 12px; left:clamp(8px, 2vw, 30px)">{{autolang|'''Organizations are under development!'''|vi='''Trang công ty/nhóm hiện tại đang phát triển!'''}}</div>
<div style="background-image:linear-gradient(0deg, #D4D3D2, #E4E1DF); box-shadow:0 4px 15px rgba(0,0,0,.4), 0 10px 60px rgba(0,0,0,.7); border-bottom-right-radius:6px; border-bottom-left-radius:6px; color:#202020; position:absolute; z-index:10; padding: 6px 12px; left:clamp(8px, 2vw, 30px)">'''{{Organization category/strings|OrganDev}}'''</div>
<div style="opacity:{{{cover opacity|1}}}; user-select:none; position:absolute"><!--
<div style="opacity:{{{cover opacity|1}}}; user-select:none; position:absolute"><!--
-->{{#if:{{PROTECTIONEXPIRY:edit|File:{{{filename|Organization Cover - {{{name|}}}}}}.png}}
-->{{#if:{{PROTECTIONEXPIRY:edit|File:{{{filename|Organization Cover - {{{name|}}}}}}.png}}
Line 43: Line 43:
<div style="background:#202020; border-radius:4px; font-size:32px; color:#F5F5F5; padding:10px 12px">{{{name|}}}</div>
<div style="background:#202020; border-radius:4px; font-size:32px; color:#F5F5F5; padding:10px 12px">{{{name|}}}</div>
{{#if:{{{about|}}}|{{#ifeq:{{{about}}}|true|[[{{{name}}}|<span class="mw-ui-button" style="user-select:none; color:#000">About</span>]]|[[{{{about}}}|<span class="mw-ui-button" style="user-select:none; color:#000">About</span>]]}}|}}
{{#if:{{{about|}}}|{{#ifeq:{{{about}}}|true|[[{{{name}}}|<span class="mw-ui-button" style="user-select:none; color:#000">About</span>]]|[[{{{about}}}|<span class="mw-ui-button" style="user-select:none; color:#000">About</span>]]}}|}}
[[:Category:Organizations|<span class="mw-ui-button" style="user-select:none; color:#000">{{autolang|View other organizations →|vi=Xem công ty/nhóm khác →}}</span>]]
[[:Category:Organizations|<span class="mw-ui-button" style="user-select:none; color:#000">{{Organization category/strings|ViewOrgan}}</span>]]
</div>
</div>
{{#if:{{{text|}}}|<div style="margin-bottom:clamp(8px, 2vw, 30px)">{{{text}}}</div>|}}
{{#if:{{{text|}}}|<div style="margin-bottom:clamp(8px, 2vw, 30px)">{{{text}}}</div>|}}

Revision as of 11:49, 27 March 2024

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. }}


Organizations are under 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.