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

Revision as of 06:39, 27 July 2025


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

{{Infobox mod/clean
 | title          = Freeman's Journey
 | image          = FreemansJourney_logo.png
 | developer      = [[User:PavelCheloveckov]]
 | engine         = Source
 | engine_version = 2013
 | platforms      = Windows, Linux
 | released       = TBA
 | status         = В разработке
 | genre          = Story Adventure
 | license        = Custom (non-commercial)
 | source_code    = https://github.com/PavelCheloveckov/FreemansJourney
 | website        = https://pavelcheloveckov.github.io/hl2-modders-team/
}}