Template:Infobox mod: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
{| class="infobox mod-infobox" style="max-width:360px; border: 2px solid #007acc; border-radius: 15px; background:#1a1a1a; color:#f5f5f5; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; font-size:14px; box-shadow: 0 4px 12px rgba(0,0,0,0.7); float: right; margin: 0 0 20px 20px;"
<div style="width: 100%; max-width: 340px; background: #1a1a1a; border: 2px solid #f7921e; border-radius: 10px; padding: 12px; color: #f5f5f5; font-size: 14px; line-height: 1.6; float: right; margin: 0 0 16px 16px; box-shadow: 0 0 10px rgba(0,0,0,0.5); font-family: 'Segoe UI', sans-serif;">
|-
! colspan="2" style="background:#1a1a1a; border-bottom: 2px solid #007acc; color:#007acc; font-size:1.8em; font-weight:bold; padding: 12px 16px; text-align:left; vertical-align:middle;" |
  [[File:Hl2 icon.png|32px|alt=HL2|link=]]&nbsp; {{{title|Название мода}}}
|-
| colspan="2" style="padding:0; border-radius: 15px 15px 0 0; overflow:hidden; text-align:center; background:#111;" |
  {{#if: {{{image|}}} | [[File:{{{image}}}|360px|link=|alt=Логотип|style=border-radius:15px 15px 0 0;]] }}
|-
! style="width:40%; padding:8px 16px; border-top:none; color:#999; vertical-align:top;" | Раздел
! style="width:60%; padding:8px 16px; border-top:none; text-align:right; vertical-align:top;" | Информация
|-
{{#if: {{{developer|}}} | | Разработчик | {{{developer}}} | }}
|-
{{#if: {{{engine|}}} | | Движок | {{{engine}}} | }}
|-
{{#if: {{{engine_version|}}} | | Версия движка | {{{engine_version}}} | }}
|-
{{#if: {{{platforms|}}} | | Платформы | {{{platforms}}} | }}
|-
{{#if: {{{released|}}} | | Релиз | {{{released}}} | }}
|-
{{#if: {{{status|}}} | | Статус | {{{status}}} | }}
|-
{{#if: {{{genre|}}} | | Жанр | {{{genre}}} | }}
|-
{{#if: {{{license|}}} | | Лицензия | {{{license}}} | }}
|-
{{#if: {{{source_code|}}} | | Исходники | [{{{source_code}}} GitHub] | }}
|-
{{#if: {{{website|}}} | | Сайт | [{{{website}}} перейти] | }}
|}
</includeonly>


<noinclude>
<div style="font-size: 18px; font-weight: bold; border-bottom: 1px solid #f7921e; padding-bottom: 4px; margin-bottom: 8px;">
  {{{title|Название мода}}}
</div>
 
{{#if:{{{image|}}}|
<div style="text-align:center; margin-bottom: 10px;">
  [[File:{{{image}}}|300px|center]]
</div>
}}
 
<table style="width: 100%; border-collapse: collapse; color: #f5f5f5;">
 
  {{#if:{{{developer|}}}|
  <tr><td style="color:#999;">Разработчик</td><td style="text-align:right;">{{{developer}}}</td></tr>}}
 
  {{#if:{{{engine|}}}|
  <tr><td style="color:#999;">Движок</td><td style="text-align:right;">{{{engine}}}</td></tr>}}
 
  {{#if:{{{engine_version|}}}|
  <tr><td style="color:#999;">Версия движка</td><td style="text-align:right;">{{{engine_version}}}</td></tr>}}
 
  {{#if:{{{platforms|}}}|
  <tr><td style="color:#999;">Платформы</td><td style="text-align:right;">{{{platforms}}}</td></tr>}}
 
  {{#if:{{{released|}}}|
  <tr><td style="color:#999;">Релиз</td><td style="text-align:right;">{{{released}}}</td></tr>}}
 
  {{#if:{{{status|}}}|
  <tr><td style="color:#999;">Статус</td><td style="text-align:right;">{{{status}}}</td></tr>}}
 
  {{#if:{{{genre|}}}|
  <tr><td style="color:#999;">Жанр</td><td style="text-align:right;">{{{genre}}}</td></tr>}}
 
  {{#if:{{{license|}}}|
  <tr><td style="color:#999;">Лицензия</td><td style="text-align:right;">{{{license}}}</td></tr>}}
 
  {{#if:{{{source_code|}}}|
  <tr><td style="color:#999;">Исходник</td><td style="text-align:right;">[{{{source_code}}} GitHub]</td></tr>}}
 
  {{#if:{{{website|}}}|
  <tr><td style="color:#999;">Сайт</td><td style="text-align:right;">[{{{website}}} Перейти]</td></tr>}}
 
</table>
 
</div>
</includeonly><noinclude>
== Использование ==
== Использование ==
<pre>
<pre>
{{Infobox mod/clean
{{Infobox mod/extended
  | title          = Freeman's Journey
  | title          = Freeman's Journey
  | image          = FreemansJourney_logo.png
  | image          = FreemansJourney_logo.png
Line 42: Line 56:
  | engine        = Source
  | engine        = Source
  | engine_version = 2013
  | engine_version = 2013
  | platforms      = Windows, Linux
  | platforms      = Windows
  | released      = TBA
  | released      = TBA
  | status        = В разработке
  | status        = In development
  | genre          = Story Adventure
  | genre          = Story Adventure
  | license        = Custom (non-commercial)
  | license        = Custom (non-commercial)
  | source_code    = https://github.com/PavelCheloveckov/FreemansJourney
  | source_code    = https://github.com/PavelCheloveckov/FreemansJourney
  | website        = https://pavelcheloveckov.github.io/hl2-modders-team/
  | website        = https://yourmodwiki.com/Freemans_Journey
}}
}}
</pre>
</pre>
[[Category:Infobox templates]]
[[Category:Infobox templates]]
[[Category:Mod templates]]
[[Category:Mod templates]]
[[Category:Freeman's Journey]]
</noinclude>
</noinclude>

Latest revision as of 06:40, 27 July 2025

Использование

{{Infobox mod/extended
 | title          = Freeman's Journey
 | image          = FreemansJourney_logo.png
 | developer      = [[User:PavelCheloveckov]]
 | engine         = Source
 | engine_version = 2013
 | platforms      = Windows
 | released       = TBA
 | status         = In development
 | genre          = Story Adventure
 | license        = Custom (non-commercial)
 | source_code    = https://github.com/PavelCheloveckov/FreemansJourney
 | website        = https://yourmodwiki.com/Freemans_Journey
}}