Template:Infobox mod: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 1: Line 1:
<includeonly>
<includeonly>
<div class="infobox-mod" style="width: 300px; 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); margin: 20px 0; padding: 20px; text-align: left; float: right;">
<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;">
    <div style="display: flex; align-items: center; margin-bottom: 10px;">
 
        <h2 style="margin: 0; font-size: 20px; color: #007acc;">{{{title|Название мода}}}</h2>
<div style="font-size: 18px; font-weight: bold; border-bottom: 1px solid #f7921e; padding-bottom: 4px; margin-bottom: 8px;">
        <img src="[[File:Hl2 icon.png]]" alt="HL2" style="width: 32px; height: 32px; margin-left: 10px;">
  {{{title|Название мода}}}
    </div>
    <div style="border-radius: 15px; overflow: hidden; margin-bottom: 20px;">
        {{#if: {{{image|}}} | [[File:{{{image}}}|280px|link=|alt=Логотип|style=border-radius:15px;]] }}
    </div>
    <div style="display: flex; justify-content: space-between; margin-bottom: 5px;">
        <span style="width: 45%; color: #999;">Разработчик</span>
        <span style="width: 55%; text-align: right;">{{{developer|}}}</span>
    </div>
    <div style="display: flex; justify-content: space-between; margin-bottom: 5px;">
        <span style="width: 45%; color: #999;">Движок</span>
        <span style="width: 55%; text-align: right;">{{{engine|}}}</span>
    </div>
    <div style="display: flex; justify-content: space-between; margin-bottom: 5px;">
        <span style="width: 45%; color: #999;">Версия</span>
        <span style="width: 55%; text-align: right;">{{{engine_version|}}}</span>
    </div>
    <div style="display: flex; justify-content: space-between; margin-bottom: 5px;">
        <span style="width: 45%; color: #999;">Платформы</span>
        <span style="width: 55%; text-align: right;">{{{platforms|}}}</span>
    </div>
    <div style="display: flex; justify-content: space-between; margin-bottom: 5px;">
        <span style="width: 45%; color: #999;">Релиз</span>
        <span style="width: 55%; text-align: right;">{{{released|}}}</span>
    </div>
    <div style="display: flex; justify-content: space-between; margin-bottom: 5px;">
        <span style="width: 45%; color: #999;">Статус</span>
        <span style="width: 55%; text-align: right;">{{{status|}}}</span>
    </div>
    <div style="display: flex; justify-content: space-between; margin-bottom: 5px;">
        <span style="width: 45%; color: #999;">Жанр</span>
        <span style="width: 55%; text-align: right;">{{{genre|}}}</span>
    </div>
    <div style="display: flex; justify-content: space-between; margin-bottom: 5px;">
        <span style="width: 45%; color: #999;">Лицензия</span>
        <span style="width: 55%; text-align: right;">{{{license|}}}</span>
    </div>
    <div style="display: flex; justify-content: space-between; margin-bottom: 5px;">
        <span style="width: 45%; color: #999;">Исходники</span>
        <span style="width: 55%; text-align: right;">{{#if: {{{source_code|}}} | [{{{source_code}}} GitHub] }}</span>
    </div>
    <div style="display: flex; justify-content: space-between; margin-bottom: 5px;">
        <span style="width: 45%; color: #999;">Сайт</span>
        <span style="width: 55%; text-align: right;">{{#if: {{{website|}}} | [{{{website}}} перейти] }}</span>
    </div>
</div>
</div>
</includeonly>


<noinclude>
{{#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 60: 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
}}