Template:FixCard: Difference between revisions

From Dea7hsmiles
Jump to navigation Jump to search
No edit summary
Tag: Reverted
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
<includeonly>
{{#if:{{{toc|}}}|
  {{#switch:{{{toc}}}
    |2 = == {{#if:{{{type|}}}|{{{type}}}: }}{{{title|Untitled}}}{{#if:{{{date|}}}| ({{{date}}})|}} ==
    |3 = === {{#if:{{{type|}}}|{{{type}}}: }}{{{title|Untitled}}}{{#if:{{{date|}}}| ({{{date}}})|}} ===
    |4 = ==== {{#if:{{{type|}}}|{{{type}}}: }}{{{title|Untitled}}}{{#if:{{{date|}}}| ({{{date}}})|}} ====
    |#default = === {{#if:{{{type|}}}|{{{type}}}: }}{{{title|Untitled}}}{{#if:{{{date|}}}| ({{{date}}})|}} ===
  }}
}}
<div class="fix-card">
<div class="fix-card">
   <div class="fix-card__header">
   <div class="fix-card__title">{{{title|Untitled}}}</div>
    <span class="fix-card__type">{{{type|Fix}}}</span>
    <span class="fix-card__title">{{{title|Untitled}}}</span>
  </div>


   <div class="fix-card__meta">
   <div class="fix-card__meta">
     {{#if:{{{author|}}}|Posted by '''{{{author}}}'''|}}
     {{#if:{{{author|}}}|<div><b>By:</b> {{{author}}}</div>|}}
     {{#if:{{{date|}}}| {{{date}}}|}}
     {{#if:{{{date|}}}|<div><b>Date:</b> {{{date}}}</div>|}}
     {{#if:{{{source|}}}| • [{{{source}}} Source]|}}
     {{#if:{{{affected|}}}|<div><b>Affects:</b> {{{affected}}}</div>|}}
     {{#if:{{{affected|}}}| • Affects: {{{affected}}}|}}
     {{#if:{{{source|}}}|<div><b>Source:</b> [{{{source}}} link]</div>|}}
   </div>
   </div>


   <div class="fix-card__summary">
   {{#if:{{{summary|}}}|
    {{{summary|}}}
    <div class="fix-card__summary">{{{summary}}}</div>
  </div>
  |}}


   {{#if:{{{steps|}}}|
   {{#if:{{{attachments|}}}|
  <div class="mw-collapsible mw-collapsed fix-card__steps">
    <div class="fix-card__attachments"><b>Attachments</b><br/>{{{attachments}}}</div>
    <div class="fix-card__steps-body">
      '''Steps'''
      {{{steps}}}
    </div>
  </div>
   |}}
   |}}
  {{#if:{{{notes|}}}|<div class="fix-card__notes"><b>Notes:</b> {{{notes}}}</div>|}}
  {{#if:{{{attachments|}}}|<div class="fix-card__attachments"><b>Attachments:</b> {{{attachments}}}</div>|}}
  {{#if:{{{tags|}}}|<div class="fix-card__tags">'''Tags:''' {{{tags}}}</div>|}}
</div>
</div>
[[Category:Community fixes]]
</includeonly><noinclude>
</includeonly><noinclude>
Usage:
Usage:


<pre>{{FixCard
<pre>{{FixCard
|type=Fix or Tip
  |title=
  |title=
  |author=
  |author=
Line 51: Line 28:
  |affected=
  |affected=
  |summary=
  |summary=
|steps=
# Step one
# Step two
|notes=
  |attachments=
  |attachments=
|tags=Windows • Controller • Lightgun
}}</pre>
}}</pre>
</noinclude>
</noinclude>

Latest revision as of 17:05, 15 August 2025

Usage:

{{FixCard
 |title=
 |author=
 |date=
 |source=
 |affected=
 |summary=
 |attachments=
}}