Template:Infobox mod: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<div style="width: 100%; max-width: | <div style="width: 100%; max-width: 360px; background: #1a1a1a; border: 2px solid #f7921e; border-radius: 12px; padding: 16px; color: #f5f5f5; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; box-shadow: 0 4px 12px rgba(0,0,0,0.7); float: right; margin: 0 0 20px 20px;"> | ||
<div style=" | <!-- Заголовок во всю ширину с иконкой HL2 --> | ||
<div style="display: flex; align-items: center; border-bottom: 2px solid #f7921e; padding-bottom: 8px; margin-bottom: 16px; font-size: 1.8em; font-weight: 700; color: #f7921e;"> | |||
{{{title|Название мода}}} | |||
{{{title}}} | |||
</div> | </div> | ||
<!-- | <!-- Картинка: занимает всю ширину, с закруглениями внизу --> | ||
{{#if: {{{image|}}} | | {{#if: {{{image|}}} | | ||
<div style="width: 100%; overflow: hidden; border-radius: 12px;"> | |||
[[File:{{{image}}}|link=|alt=Логотип|class=infobox-image|style=width:100%; height:auto; display:block; border-bottom-left-radius:12px; border-bottom-right-radius:12px;]] | |||
</div> | |||
}} | }} | ||
<!-- | <!-- Таблица информации --> | ||
<table style="width: 100%; border-collapse: collapse; | <table style="width: 100%; border-collapse: collapse; margin-top: 16px; color: #ccc; font-size: 14px;"> | ||
{{#if: {{{developer|}}} | <tr><td style="padding:6px 8px; color:#999;">Разработчик</td><td style="padding:6px 8px; text-align:right;">{{{developer}}}</td></tr> }} | |||
{{#if: {{{engine|}}} | <tr><td style="padding:6px 8px; color:#999;">Движок</td><td style="padding:6px 8px; text-align:right;">{{{engine}}}</td></tr> }} | |||
{{#if: {{{engine_version|}}} | <tr><td style="padding:6px 8px; color:#999;">Версия движка</td><td style="padding:6px 8px; text-align:right;">{{{engine_version}}}</td></tr> }} | |||
{{#if: {{{platforms|}}} | <tr><td style="padding:6px 8px; color:#999;">Платформы</td><td style="padding:6px 8px; text-align:right;">{{{platforms}}}</td></tr> }} | |||
{{#if: {{{released|}}} | <tr><td style="padding:6px 8px; color:#999;">Релиз</td><td style="padding:6px 8px; text-align:right;">{{{released}}}</td></tr> }} | |||
{{#if: {{{status|}}} | <tr><td style="padding:6px 8px; color:#999;">Статус</td><td style="padding:6px 8px; text-align:right;">{{{status}}}</td></tr> }} | |||
{{#if: {{{genre|}}} | <tr><td style="padding:6px 8px; color:#999;">Жанр</td><td style="padding:6px 8px; text-align:right;">{{{genre}}}</td></tr> }} | |||
{{#if: {{{license|}}} | <tr><td style="padding:6px 8px; color:#999;">Лицензия</td><td style="padding:6px 8px; text-align:right;">{{{license}}}</td></tr> }} | |||
{{#if: {{{source_code|}}} | <tr><td style="padding:6px 8px; color:#999;">Исходники</td><td style="padding:6px 8px; text-align:right;">[{{{source_code}}} GitHub]</td></tr> }} | |||
{{#if: {{{website|}}} | <tr><td style="padding:6px 8px; color:#999;">Сайт</td><td style="padding:6px 8px; text-align:right;">[{{{website}}} перейти]</td></tr> }} | |||
</table> | </table> | ||
</div> | </div> | ||
</includeonly> | |||
<noinclude> | |||
== Использование == | == Использование == | ||
<pre> | <pre> | ||
{{Infobox mod/ | {{Infobox mod/advanced | ||
| title = Freeman's Journey | | title = Freeman's Journey | ||
| image = FreemansJourney_logo.png | | image = FreemansJourney_logo.png | ||
Line 92: | Line 40: | ||
| engine = Source | | engine = Source | ||
| engine_version = 2013 | | engine_version = 2013 | ||
| platforms = Windows | | platforms = Windows, Linux | ||
| released = TBA | | released = TBA | ||
| status = | | status = В разработке | ||
| 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:// | | website = https://pavelcheloveckov.github.io/hl2-modders-team/ | ||
}} | }} | ||
</pre> | </pre> | ||
[[Category:Infobox templates]] | [[Category:Infobox templates]] | ||
[[Category:Mod templates]] | [[Category:Mod templates]] | ||
</noinclude> | </noinclude> |
Revision as of 06:04, 27 July 2025
Использование
{{Infobox mod/advanced | 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/ }}