TorturedCats (talk | contribs) No edit summary |
TorturedCats (talk | contribs) (Apply approved Sinfar resource-page layout: native headings, compact tables and responsive navigation; preserve existing content.) |
||
| Line 1: | Line 1: | ||
<div class="sf- | <div class="sf-page sf-article-page sf-guidance-family sf-resource-page"> | ||
<div class="sf-family-path">[[Main Page]] · [[The Sinfar Wiki Contribution Guide|Contribution Guide]]</div> | |||
<div class="sf-hero"> | |||
<div class="sf-eyebrow">Sinfar Wiki Builder’s Reference</div> | <div class="sf-eyebrow">Sinfar Wiki Builder’s Reference</div> | ||
< | <div class="sf-title" id="Creating_a_New_Page">Creating a New Page</div> | ||
<p>The complete technical and visual reference for building Sinfar Wiki pages in the unified style.</p> | <p>The complete technical and visual reference for building Sinfar Wiki pages in the unified style.</p> | ||
</div> | </div> | ||
<div class="sf- | |||
<div class="sf-note"><b>Current page-layout standard:</b> Use the Class Changes resource-page family, native Wiki headings, and the built-in Contents navigation. The older examples below are retained for reference; examples containing <code><nowiki>__NOTOC__</nowiki></code>, a second page-level H1, or older layout classes are not the current starter template.</div> | |||
== Current resource-page starter == | |||
<pre class="sf-codeblock"><nowiki><div class="sf-page sf-article-page sf-guidance-family sf-resource-page"> | |||
<div class="sf-family-path">[[Main Page]]</div> | |||
<div class="sf-hero"><div class="sf-eyebrow">Player resources</div> | |||
<div class="sf-title">Page title</div><p>What this page helps the reader do.</p></div> | |||
== Find a topic == | |||
<div class="sf-task-index">[[#Overview|Overview]] [[#Instructions|Instructions]]</div> | |||
== Overview == | |||
Explain the scope of the page. | |||
== Instructions == | |||
<div class="sf-content-panel"> | |||
=== First step === | |||
Write the instructions here. | |||
</div> | |||
</div></nowiki></pre> | |||
<div class="sf-summary-grid"> | |||
<div><b>Primary Use</b><br><span>Page construction</span></div> | <div><b>Primary Use</b><br><span>Page construction</span></div> | ||
<div><b>Editing Modes</b><br><span>Visual · Source</span></div> | <div><b>Editing Modes</b><br><span>Visual · Source</span></div> | ||
| Line 20: | Line 39: | ||
</div> | </div> | ||
<div class="sf- | <div class="sf-reference-body"> | ||
<div class="sf- | <div class="sf-content-panel"> | ||
<div class="sf- | <div class="sf-label">Page Directory</div> | ||
<div class="sf- | <div class="sf-label">Foundation</div> | ||
[[#manual-introduction|1. Introduction]] | [[#manual-introduction|1. Introduction]] | ||
[[#manual-navigation|2. Quick Navigation]] | [[#manual-navigation|2. Quick Navigation]] | ||
| Line 33: | Line 52: | ||
[[#manual-html|5. HTML Reference]] | [[#manual-html|5. HTML Reference]] | ||
<div class="sf- | <div class="sf-label">Visual System</div> | ||
[[#manual-components|6. Sinfar Components]] | [[#manual-components|6. Sinfar Components]] | ||
[[#manual-images|7. Images & Galleries]] | [[#manual-images|7. Images & Galleries]] | ||
| Line 40: | Line 59: | ||
[[#manual-colors|10. Color Standard]] | [[#manual-colors|10. Color Standard]] | ||
<div class="sf- | <div class="sf-label">Page Design</div> | ||
[[#manual-typography|11. Typography]] | [[#manual-typography|11. Typography]] | ||
[[#manual-layouts|12. Layout Standards]] | [[#manual-layouts|12. Layout Standards]] | ||
| Line 47: | Line 66: | ||
[[#manual-patterns|15. Common Page Patterns]] | [[#manual-patterns|15. Common Page Patterns]] | ||
<div class="sf- | <div class="sf-label">Production</div> | ||
[[#manual-accessibility|16. Accessibility]] | [[#manual-accessibility|16. Accessibility]] | ||
[[#manual-performance|17. Performance]] | [[#manual-performance|17. Performance]] | ||
| Line 57: | Line 76: | ||
</div> | </div> | ||
<div class="sf-manual- | <div class="sf-reference-content"> | ||
== 1. Introduction <span id="manual-introduction"></span> == | |||
<p>This page is the canonical construction reference for new Sinfar Wiki articles. It documents the markup, HTML, visual components, colors, images, tables, layouts, and publishing standards used throughout the unified Wiki design.</p> | <p>This page is the canonical construction reference for new Sinfar Wiki articles. It documents the markup, HTML, visual components, colors, images, tables, layouts, and publishing standards used throughout the unified Wiki design.</p> | ||
| Line 68: | Line 89: | ||
</div> | </div> | ||
<div class="sf-grid- | === What this manual covers === | ||
<div class="sf-choice-grid"> | |||
<div class="sf-content-panel"> | |||
=== ✦ Create === | |||
<p>Create a blank article, select an editing mode, and establish the standard Sinfar page wrapper.</p> | <p>Create a blank article, select an editing mode, and establish the standard Sinfar page wrapper.</p> | ||
</div> | </div> | ||
<div class="sf- | <div class="sf-content-panel"> | ||
=== ⚒ Construct === | |||
<p>Use headings, links, cards, tables, images, galleries, alerts, grids, and navigation components.</p> | <p>Use headings, links, cards, tables, images, galleries, alerts, grids, and navigation components.</p> | ||
</div> | </div> | ||
<div class="sf- | <div class="sf-content-panel"> | ||
=== ✓ Publish === | |||
<p>Preview the page, verify links and layout, assign categories, and provide a useful edit summary.</p> | <p>Preview the page, verify links and layout, assign categories, and provide a useful edit summary.</p> | ||
</div> | </div> | ||
| Line 89: | Line 118: | ||
</div> | </div> | ||
=== Pages this framework supports === | |||
<ul> | <ul> | ||
| Line 107: | Line 138: | ||
< | |||
== 2. Quick Navigation <span id="manual-navigation"></span> == | |||
<p>The side directory provides access to every chapter. Use your browser’s page search for exact terms such as <code>gallery</code>, <code>sortable</code>, <code>underline</code>, <code>hero</code>, or <code>quickbar</code>.</p> | <p>The side directory provides access to every chapter. Use your browser’s page search for exact terms such as <code>gallery</code>, <code>sortable</code>, <code>underline</code>, <code>hero</code>, or <code>quickbar</code>.</p> | ||
| Line 135: | Line 168: | ||
</div> | </div> | ||
<table class="sf-table"> | === Editing mode comparison === | ||
<tr> | |||
<table class="sf-reference-table sf-matrix"> | |||
<tr class="sf-table-head"> | |||
<th scope="col">Task</th> | <th scope="col">Task</th> | ||
<th scope="col">VisualEditor</th> | <th scope="col">VisualEditor</th> | ||
| Line 144: | Line 179: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
< | <th scope="row"><b>Write ordinary paragraphs</b></th> | ||
<td>Recommended</td> | <td><span class="sf-data-label">VisualEditor</span><span class="sf-data-value">Recommended</span></td> | ||
<td>Supported</td> | <td><span class="sf-data-label">Source Mode</span><span class="sf-data-value">Supported</span></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
< | <th scope="row"><b>Bold, italics, lists, and links</b></th> | ||
<td>Recommended</td> | <td><span class="sf-data-label">VisualEditor</span><span class="sf-data-value">Recommended</span></td> | ||
<td>Supported</td> | <td><span class="sf-data-label">Source Mode</span><span class="sf-data-value">Supported</span></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
< | <th scope="row"><b>Insert a basic image</b></th> | ||
<td>Recommended</td> | <td><span class="sf-data-label">VisualEditor</span><span class="sf-data-value">Recommended</span></td> | ||
<td>Supported</td> | <td><span class="sf-data-label">Source Mode</span><span class="sf-data-value">Supported</span></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
< | <th scope="row"><b>Insert a simple table</b></th> | ||
<td>Supported</td> | <td><span class="sf-data-label">VisualEditor</span><span class="sf-data-value">Supported</span></td> | ||
<td>Recommended for exact control</td> | <td><span class="sf-data-label">Source Mode</span><span class="sf-data-value">Recommended for exact control</span></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
< | <th scope="row"><b>Use Sinfar cards and layouts</b></th> | ||
<td>Not recommended</td> | <td><span class="sf-data-label">VisualEditor</span><span class="sf-data-value">Not recommended</span></td> | ||
<td>Required</td> | <td><span class="sf-data-label">Source Mode</span><span class="sf-data-value">Required</span></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
< | <th scope="row"><b>Repair broken HTML or wrappers</b></th> | ||
<td>Not recommended</td> | <td><span class="sf-data-label">VisualEditor</span><span class="sf-data-value">Not recommended</span></td> | ||
<td>Required</td> | <td><span class="sf-data-label">Source Mode</span><span class="sf-data-value">Required</span></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
< | <th scope="row"><b>Copy complete page templates</b></th> | ||
<td>Not recommended</td> | <td><span class="sf-data-label">VisualEditor</span><span class="sf-data-value">Not recommended</span></td> | ||
<td>Required</td> | <td><span class="sf-data-label">Source Mode</span><span class="sf-data-value">Required</span></td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
< | == 3. Building Blocks <span id="manual-building-blocks"></span> == | ||
<table class="sf-table"> | === Creating the blank page === | ||
<tr> | |||
<table class="sf-reference-table sf-matrix"> | |||
<tr class="sf-table-head"> | |||
<th scope="col">Method</th> | <th scope="col">Method</th> | ||
<th scope="col">How It Works</th> | <th scope="col">How It Works</th> | ||
| Line 192: | Line 231: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
< | <th scope="row"><b>Red link</b></th> | ||
<td>Add a link to a page that does not exist, then open the resulting red link.</td> | <td><span class="sf-data-label">How It Works</span><span class="sf-data-value">Add a link to a page that does not exist, then open the resulting red link.</span></td> | ||
<td>Preferred because the new page is already connected to another article.</td> | <td><span class="sf-data-label">Best Use</span><span class="sf-data-value">Preferred because the new page is already connected to another article.</span></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
< | <th scope="row"><b>Wiki search</b></th> | ||
<td>Search for the exact title and select the option to create the missing page.</td> | <td><span class="sf-data-label">How It Works</span><span class="sf-data-value">Search for the exact title and select the option to create the missing page.</span></td> | ||
<td>Useful when the page has not yet been linked anywhere.</td> | <td><span class="sf-data-label">Best Use</span><span class="sf-data-value">Useful when the page has not yet been linked anywhere.</span></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
< | <th scope="row"><b>Direct address</b></th> | ||
<td>Replace the page name in the browser address with the intended new title.</td> | <td><span class="sf-data-label">How It Works</span><span class="sf-data-value">Replace the page name in the browser address with the intended new title.</span></td> | ||
<td>Fast, but easier to mistype.</td> | <td><span class="sf-data-label">Best Use</span><span class="sf-data-value">Fast, but easier to mistype.</span></td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
=== Red-link source === | |||
<pre class="sf-codeblock"><nowiki>[[Making Your First Gold]]</nowiki></pre> | <pre class="sf-codeblock"><nowiki>[[Making Your First Gold]]</nowiki></pre> | ||
=== Direct-address example === | |||
<pre class="sf-codeblock"><nowiki>https://wiki.sinfar.net/index.php/Making_Your_First_Gold</nowiki></pre> | <pre class="sf-codeblock"><nowiki>https://wiki.sinfar.net/index.php/Making_Your_First_Gold</nowiki></pre> | ||
| Line 221: | Line 264: | ||
</div> | </div> | ||
=== The required Sinfar page wrapper === | |||
<p>Every new or refitted article begins inside the sovereign page shell.</p> | <p>Every new or refitted article begins inside the sovereign page shell.</p> | ||
| Line 239: | Line 284: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td><code> | <td><code></code></td> | ||
<td>Hides MediaWiki’s automatic contents box when the page uses custom navigation or does not need a contents list.</td> | <td>Hides MediaWiki’s automatic contents box when the page uses custom navigation or does not need a contents list.</td> | ||
</tr> | </tr> | ||
| Line 252: | Line 297: | ||
</table> | </table> | ||
=== Basic page foundation === | |||
<pre class="sf-codeblock"><nowiki>__NOTOC__ | <pre class="sf-codeblock"><nowiki>__NOTOC__ | ||
| Line 281: | Line 328: | ||
< | |||
== 4. Wikitext Reference <span id="manual-wikitext"></span> == | |||
<p>Wikitext is MediaWiki’s native markup language. It handles headings, emphasis, lists, links, redirects, categories, and other common page functions.</p> | <p>Wikitext is MediaWiki’s native markup language. It handles headings, emphasis, lists, links, redirects, categories, and other common page functions.</p> | ||
<table class="sf-table"> | === Headings === | ||
<tr> | |||
<table class="sf-reference-table sf-matrix"> | |||
<tr class="sf-table-head"> | |||
<th scope="col">Result</th> | <th scope="col">Result</th> | ||
<th scope="col">Source</th> | <th scope="col">Source</th> | ||
| Line 294: | Line 345: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
< | <th scope="row"><b>Main article section</b></th> | ||
<td><code><nowiki>== Main Section ==</nowiki></code></td> | <td><span class="sf-data-label">Source</span><span class="sf-data-value"><code><nowiki>== Main Section ==</nowiki></code></span></td> | ||
<td>Standard MediaWiki level-two heading.</td> | <td><span class="sf-data-label">Use</span><span class="sf-data-value">Standard MediaWiki level-two heading.</span></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
< | <th scope="row"><b>Subsection</b></th> | ||
<td><code><nowiki>=== Subsection ===</nowiki></code></td> | <td><span class="sf-data-label">Source</span><span class="sf-data-value"><code><nowiki>=== Subsection ===</nowiki></code></span></td> | ||
<td>Used beneath a main section.</td> | <td><span class="sf-data-label">Use</span><span class="sf-data-value">Used beneath a main section.</span></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
< | <th scope="row"><b>Sinfar section title</b></th> | ||
<td><code><nowiki><h2 class="sf-section-title">Section</h2></nowiki></code></td> | <td><span class="sf-data-label">Source</span><span class="sf-data-value"><code><nowiki><h2 class="sf-section-title">Section</h2></nowiki></code></span></td> | ||
<td>Preferred for unified refit pages.</td> | <td><span class="sf-data-label">Use</span><span class="sf-data-value">Preferred for unified refit pages.</span></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
< | <th scope="row"><b>Sinfar subheading</b></th> | ||
<td><code><nowiki><h3 class="sf-subheading">Subheading</h3></nowiki></code></td> | <td><span class="sf-data-label">Source</span><span class="sf-data-value"><code><nowiki><h3 class="sf-subheading">Subheading</h3></nowiki></code></span></td> | ||
<td>Preferred beneath a styled section title.</td> | <td><span class="sf-data-label">Use</span><span class="sf-data-value">Preferred beneath a styled section title.</span></td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
| Line 320: | Line 371: | ||
</div> | </div> | ||
=== Bold, italics, underline, and strike-through === | |||
<table class="sf-table"> | <table class="sf-table"> | ||
| Line 354: | Line 407: | ||
</div> | </div> | ||
=== Font size === | |||
<div class="sf-manual-example"> | <div class="sf-manual-example"> | ||
| Line 372: | Line 427: | ||
</div> | </div> | ||
=== Paragraphs and line breaks === | |||
<table class="sf-table"> | <table class="sf-table"> | ||
| Line 393: | Line 450: | ||
</table> | </table> | ||
=== Bullet lists === | |||
<div class="sf-manual-example"> | <div class="sf-manual-example"> | ||
| Line 407: | Line 466: | ||
** Nested item beneath the second entry</nowiki></pre> | ** Nested item beneath the second entry</nowiki></pre> | ||
=== Numbered lists === | |||
<div class="sf-manual-example"> | <div class="sf-manual-example"> | ||
| Line 421: | Line 482: | ||
# Third step</nowiki></pre> | # Third step</nowiki></pre> | ||
=== Mixed lists === | |||
<pre class="sf-codeblock"><nowiki># Install the required files. | <pre class="sf-codeblock"><nowiki># Install the required files. | ||
| Line 430: | Line 493: | ||
#* Server rules</nowiki></pre> | #* Server rules</nowiki></pre> | ||
=== Superscript and subscript === | |||
<table class="sf-table"> | <table class="sf-table"> | ||
| Line 447: | Line 512: | ||
</table> | </table> | ||
=== Comments hidden from readers === | |||
<pre class="sf-codeblock"><nowiki><!-- This note appears only in Source mode. --></nowiki></pre> | <pre class="sf-codeblock"><nowiki><!-- This note appears only in Source mode. --></nowiki></pre> | ||
| Line 453: | Line 520: | ||
<p>Comments are useful for maintenance instructions, placeholders, warnings to future contributors, and identifying where new source should be inserted.</p> | <p>Comments are useful for maintenance instructions, placeholders, warnings to future contributors, and identifying where new source should be inserted.</p> | ||
=== Displaying markup without rendering it === | |||
<pre class="sf-codeblock"><nowiki><nowiki>[[Player Housing]]</nowiki></nowiki></pre> | <pre class="sf-codeblock"><nowiki><nowiki>[[Player Housing]]</nowiki></nowiki></pre> | ||
| Line 459: | Line 528: | ||
<p>The outer <code>nowiki</code> tags tell MediaWiki to display the enclosed markup literally instead of processing it.</p> | <p>The outer <code>nowiki</code> tags tell MediaWiki to display the enclosed markup literally instead of processing it.</p> | ||
=== Redirects === | |||
<pre class="sf-codeblock"><nowiki>#REDIRECT [[Player Housing]]</nowiki></pre> | <pre class="sf-codeblock"><nowiki>#REDIRECT [[Player Housing]]</nowiki></pre> | ||
| Line 465: | Line 536: | ||
<p>A redirect page contains the redirect line as its first meaningful content. Redirects are useful for alternate names, spelling variations, and likely search phrases.</p> | <p>A redirect page contains the redirect line as its first meaningful content. Redirects are useful for alternate names, spelling variations, and likely search phrases.</p> | ||
=== Categories === | |||
<pre class="sf-codeblock"><nowiki>[[Category:Player Guides]] | <pre class="sf-codeblock"><nowiki>[[Category:Player Guides]] | ||
| Line 472: | Line 545: | ||
<p>Place categories at the bottom of page source, beneath the closing <code>sf-page</code> wrapper.</p> | <p>Place categories at the bottom of page source, beneath the closing <code>sf-page</code> wrapper.</p> | ||
=== Table of contents controls === | |||
<table class="sf-table"> | <table class="sf-table"> | ||
| Line 494: | Line 569: | ||
< | |||
== 5. HTML Reference <span id="manual-html"></span> == | |||
<p>MediaWiki accepts a controlled set of HTML elements inside page source. Sinfar pages use HTML primarily for structure, reusable CSS classes, and precise visual presentation.</p> | <p>MediaWiki accepts a controlled set of HTML elements inside page source. Sinfar pages use HTML primarily for structure, reusable CSS classes, and precise visual presentation.</p> | ||
| Line 503: | Line 580: | ||
</div> | </div> | ||
<table class="sf-table"> | === Structural elements === | ||
<tr> | |||
<table class="sf-reference-table sf-matrix"> | |||
<tr class="sf-table-head"> | |||
<th scope="col">Element</th> | <th scope="col">Element</th> | ||
<th scope="col">Purpose</th> | <th scope="col">Purpose</th> | ||
| Line 512: | Line 591: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
< | <th scope="row"><code>div</code></th> | ||
<td>Creates a block container and applies Sinfar classes.</td> | <td><span class="sf-data-label">Purpose</span><span class="sf-data-value">Creates a block container and applies Sinfar classes.</span></td> | ||
<td><code><nowiki><div class="sf-card">...</div></nowiki></code></td> | <td><span class="sf-data-label">Example</span><span class="sf-data-value"><code><nowiki><div class="sf-card">...</div></nowiki></code></span></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
< | <th scope="row"><code>span</code></th> | ||
<td>Applies styling to part of a sentence.</td> | <td><span class="sf-data-label">Purpose</span><span class="sf-data-value">Applies styling to part of a sentence.</span></td> | ||
<td><code><nowiki><span class="sf-label">Important</span></nowiki></code></td> | <td><span class="sf-data-label">Example</span><span class="sf-data-value"><code><nowiki><span class="sf-label">Important</span></nowiki></code></span></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
< | <th scope="row"><code>p</code></th> | ||
<td>Creates an explicit paragraph.</td> | <td><span class="sf-data-label">Purpose</span><span class="sf-data-value">Creates an explicit paragraph.</span></td> | ||
<td><code><nowiki><p>Paragraph text.</p></nowiki></code></td> | <td><span class="sf-data-label">Example</span><span class="sf-data-value"><code><nowiki><p>Paragraph text.</p></nowiki></code></span></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
< | <th scope="row"><code>h1–h3</code></th> | ||
<td>Creates headings used by Sinfar hero and section classes.</td> | <td><span class="sf-data-label">Purpose</span><span class="sf-data-value">Creates headings used by Sinfar hero and section classes.</span></td> | ||
<td><code><nowiki><h2 class="sf-section-title">Overview</h2></nowiki></code></td> | <td><span class="sf-data-label">Example</span><span class="sf-data-value"><code><nowiki><h2 class="sf-section-title">Overview</h2></nowiki></code></span></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
< | <th scope="row"><code>br</code></th> | ||
<td>Creates a line break.</td> | <td><span class="sf-data-label">Purpose</span><span class="sf-data-value">Creates a line break.</span></td> | ||
<td><code><nowiki>First line<br>Second line</nowiki></code></td> | <td><span class="sf-data-label">Example</span><span class="sf-data-value"><code><nowiki>First line<br>Second line</nowiki></code></span></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
< | <th scope="row"><code>hr</code></th> | ||
<td>Creates a horizontal rule.</td> | <td><span class="sf-data-label">Purpose</span><span class="sf-data-value">Creates a horizontal rule.</span></td> | ||
<td><code><nowiki><hr></nowiki></code></td> | <td><span class="sf-data-label">Example</span><span class="sf-data-value"><code><nowiki><hr></nowiki></code></span></td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
<table class="sf-table"> | === Text elements === | ||
<tr> | |||
<table class="sf-reference-table sf-matrix"> | |||
<tr class="sf-table-head"> | |||
<th scope="col">Element</th> | <th scope="col">Element</th> | ||
<th scope="col">Purpose</th> | <th scope="col">Purpose</th> | ||
| Line 552: | Line 633: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
< | <th scope="row"><code>b</code></th> | ||
<td>Bold visual emphasis.</td> | <td><span class="sf-data-label">Purpose</span><span class="sf-data-value">Bold visual emphasis.</span></td> | ||
<td><code><nowiki><b>Important</b></nowiki></code></td> | <td><span class="sf-data-label">Example</span><span class="sf-data-value"><code><nowiki><b>Important</b></nowiki></code></span></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
< | <th scope="row"><code>strong</code></th> | ||
<td>Strong semantic emphasis.</td> | <td><span class="sf-data-label">Purpose</span><span class="sf-data-value">Strong semantic emphasis.</span></td> | ||
<td><code><nowiki><strong>Required</strong></nowiki></code></td> | <td><span class="sf-data-label">Example</span><span class="sf-data-value"><code><nowiki><strong>Required</strong></nowiki></code></span></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
< | <th scope="row"><code>i</code></th> | ||
<td>Italic visual styling.</td> | <td><span class="sf-data-label">Purpose</span><span class="sf-data-value">Italic visual styling.</span></td> | ||
<td><code><nowiki><i>Optional</i></nowiki></code></td> | <td><span class="sf-data-label">Example</span><span class="sf-data-value"><code><nowiki><i>Optional</i></nowiki></code></span></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
< | <th scope="row"><code>em</code></th> | ||
<td>Semantic emphasis.</td> | <td><span class="sf-data-label">Purpose</span><span class="sf-data-value">Semantic emphasis.</span></td> | ||
<td><code><nowiki><em>Usually recommended</em></nowiki></code></td> | <td><span class="sf-data-label">Example</span><span class="sf-data-value"><code><nowiki><em>Usually recommended</em></nowiki></code></span></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
< | <th scope="row"><code>u</code></th> | ||
<td>Underline.</td> | <td><span class="sf-data-label">Purpose</span><span class="sf-data-value">Underline.</span></td> | ||
<td><code><nowiki><u>Underlined</u></nowiki></code></td> | <td><span class="sf-data-label">Example</span><span class="sf-data-value"><code><nowiki><u>Underlined</u></nowiki></code></span></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
< | <th scope="row"><code>s</code></th> | ||
<td>Strike-through.</td> | <td><span class="sf-data-label">Purpose</span><span class="sf-data-value">Strike-through.</span></td> | ||
<td><code><nowiki><s>Obsolete value</s></nowiki></code></td> | <td><span class="sf-data-label">Example</span><span class="sf-data-value"><code><nowiki><s>Obsolete value</s></nowiki></code></span></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
< | <th scope="row"><code>small</code></th> | ||
<td>Supporting or secondary text.</td> | <td><span class="sf-data-label">Purpose</span><span class="sf-data-value">Supporting or secondary text.</span></td> | ||
<td><code><nowiki><small>Optional note</small></nowiki></code></td> | <td><span class="sf-data-label">Example</span><span class="sf-data-value"><code><nowiki><small>Optional note</small></nowiki></code></span></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
< | <th scope="row"><code>sup</code></th> | ||
<td>Superscript.</td> | <td><span class="sf-data-label">Purpose</span><span class="sf-data-value">Superscript.</span></td> | ||
<td><code><nowiki>10<sup>2</sup></nowiki></code></td> | <td><span class="sf-data-label">Example</span><span class="sf-data-value"><code><nowiki>10<sup>2</sup></nowiki></code></span></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
< | <th scope="row"><code>sub</code></th> | ||
<td>Subscript.</td> | <td><span class="sf-data-label">Purpose</span><span class="sf-data-value">Subscript.</span></td> | ||
<td><code><nowiki>H<sub>2</sub>O</nowiki></code></td> | <td><span class="sf-data-label">Example</span><span class="sf-data-value"><code><nowiki>H<sub>2</sub>O</nowiki></code></span></td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
=== List elements === | |||
<pre class="sf-codeblock"><nowiki><ul> | <pre class="sf-codeblock"><nowiki><ul> | ||
| Line 610: | Line 693: | ||
</ol></nowiki></pre> | </ol></nowiki></pre> | ||
=== Definition list === | |||
<div class="sf-manual-example"> | <div class="sf-manual-example"> | ||
| Line 630: | Line 715: | ||
</dl></nowiki></pre> | </dl></nowiki></pre> | ||
=== Quotation === | |||
<div class="sf-manual-example"> | <div class="sf-manual-example"> | ||
| Line 642: | Line 729: | ||
</blockquote></nowiki></pre> | </blockquote></nowiki></pre> | ||
=== Code and preformatted text === | |||
<pre class="sf-codeblock"><nowiki><code>SetLocalInt(oObject, "EXAMPLE", TRUE);</code> | <pre class="sf-codeblock"><nowiki><code>SetLocalInt(oObject, "EXAMPLE", TRUE);</code> | ||
| Line 651: | Line 740: | ||
</pre></nowiki></pre> | </pre></nowiki></pre> | ||
=== Classes and inline style === | |||
<pre class="sf-codeblock"><nowiki><span class="sf-label">Approved class styling</span> | <pre class="sf-codeblock"><nowiki><span class="sf-label">Approved class styling</span> | ||
| Line 670: | Line 761: | ||
</div> | </div> | ||
< | |||
== 6. Sinfar CSS Components <span id="manual-components"></span> == | |||
<p>These components are defined globally by <code>MediaWiki:Common.css</code>. Copy the component source and replace only its example content.</p> | <p>These components are defined globally by <code>MediaWiki:Common.css</code>. Copy the component source and replace only its example content.</p> | ||
=== Page shell === | |||
<pre class="sf-codeblock"><nowiki><div class="sf-page"> | <pre class="sf-codeblock"><nowiki><div class="sf-page"> | ||
| Line 682: | Line 777: | ||
</div></nowiki></pre> | </div></nowiki></pre> | ||
=== Compact hero === | |||
<div class="sf-manual-example"> | <div class="sf-manual-example"> | ||
<div class="sf-hero sf-hero-compact"> | <div class="sf-hero sf-hero-compact"> | ||
<div class="sf-eyebrow">Area Guide</div> | <div class="sf-eyebrow">Area Guide</div> | ||
< | <div class="sf-label" id="The_Western_Frontier">The Western Frontier</div> | ||
<p>Locations, dangers, and reasons to explore the western reaches.</p> | <p>Locations, dangers, and reasons to explore the western reaches.</p> | ||
</div> | </div> | ||
| Line 698: | Line 795: | ||
</div></nowiki></pre> | </div></nowiki></pre> | ||
=== Section title === | |||
<div class="sf-manual-example"> | <div class="sf-manual-example"> | ||
< | <div class="sf-label" id="Exploration_Routes">Exploration Routes</div> | ||
</div> | </div> | ||
<pre class="sf-codeblock"><nowiki><h2 class="sf-section-title">Exploration Routes</h2></nowiki></pre> | <pre class="sf-codeblock"><nowiki><h2 class="sf-section-title">Exploration Routes</h2></nowiki></pre> | ||
=== Subheading === | |||
<div class="sf-manual-example"> | <div class="sf-manual-example"> | ||
< | <div class="sf-label" id="Northern_Road">Northern Road</div> | ||
</div> | </div> | ||
<pre class="sf-codeblock"><nowiki><h3 class="sf-subheading">Northern Road</h3></nowiki></pre> | <pre class="sf-codeblock"><nowiki><h3 class="sf-subheading">Northern Road</h3></nowiki></pre> | ||
=== Single card === | |||
<div class="sf-manual-example"> | <div class="sf-manual-example"> | ||
<div class="sf- | <div class="sf-content-panel"> | ||
< | <div class="sf-label" id="Market_Square">Market Square</div> | ||
<p>A central social and trading area frequently used for gatherings and public events.</p> | <p>A central social and trading area frequently used for gatherings and public events.</p> | ||
</div> | </div> | ||
| Line 728: | Line 831: | ||
</div></nowiki></pre> | </div></nowiki></pre> | ||
=== Two-column card grid === | |||
<div class="sf-manual-example"> | <div class="sf-manual-example"> | ||
<div class="sf-grid | <div class="sf-choice-grid"> | ||
<div class="sf- | <div class="sf-content-panel"> | ||
< | <div class="sf-label" id="Exploration">Exploration</div> | ||
<p>Scenic areas, hidden routes, and places worth visiting.</p> | <p>Scenic areas, hidden routes, and places worth visiting.</p> | ||
</div> | </div> | ||
<div class="sf- | <div class="sf-content-panel"> | ||
< | <div class="sf-label" id="Adventure">Adventure</div> | ||
<p>Dungeons, quests, encounters, and dangerous locations.</p> | <p>Dungeons, quests, encounters, and dangerous locations.</p> | ||
</div> | </div> | ||
| Line 760: | Line 865: | ||
</div></nowiki></pre> | </div></nowiki></pre> | ||
=== Three-column card grid === | |||
<pre class="sf-codeblock"><nowiki><div class="sf-grid-3"> | <pre class="sf-codeblock"><nowiki><div class="sf-grid-3"> | ||
| Line 781: | Line 888: | ||
</div></nowiki></pre> | </div></nowiki></pre> | ||
=== Four-value status bar === | |||
<div class="sf-manual-example"> | <div class="sf-manual-example"> | ||
<div class="sf- | <div class="sf-summary-grid"> | ||
<div><b>Region</b><br><span>Western Frontier</span></div> | <div><b>Region</b><br><span>Western Frontier</span></div> | ||
<div><b>Difficulty</b><br><span>Moderate</span></div> | <div><b>Difficulty</b><br><span>Moderate</span></div> | ||
| Line 799: | Line 908: | ||
</div></nowiki></pre> | </div></nowiki></pre> | ||
=== Quickbar === | |||
<div class="sf-manual-example"> | <div class="sf-manual-example"> | ||
| Line 817: | Line 928: | ||
</div></nowiki></pre> | </div></nowiki></pre> | ||
=== Neutral note === | |||
<div class="sf-manual-example"> | <div class="sf-manual-example"> | ||
| Line 829: | Line 942: | ||
</div></nowiki></pre> | </div></nowiki></pre> | ||
=== Information alert === | |||
<div class="sf-manual-example"> | <div class="sf-manual-example"> | ||
| Line 843: | Line 958: | ||
</div></nowiki></pre> | </div></nowiki></pre> | ||
=== Warning alert === | |||
<div class="sf-manual-example"> | <div class="sf-manual-example"> | ||
| Line 857: | Line 974: | ||
</div></nowiki></pre> | </div></nowiki></pre> | ||
=== Danger alert === | |||
<div class="sf-manual-example"> | <div class="sf-manual-example"> | ||
| Line 871: | Line 990: | ||
</div></nowiki></pre> | </div></nowiki></pre> | ||
=== Progress line === | |||
<div class="sf-manual-example"> | <div class="sf-manual-example"> | ||
| Line 891: | Line 1,012: | ||
</div></nowiki></pre> | </div></nowiki></pre> | ||
=== Action-link list === | |||
<pre class="sf-codeblock"><nowiki><ul class="sf-action-list"> | <pre class="sf-codeblock"><nowiki><ul class="sf-action-list"> | ||
| Line 899: | Line 1,022: | ||
</ul></nowiki></pre> | </ul></nowiki></pre> | ||
=== Code block === | |||
<pre class="sf-codeblock"><nowiki><pre class="sf-codeblock"><nowiki> | <pre class="sf-codeblock"><nowiki><pre class="sf-codeblock"><nowiki> | ||
| Line 905: | Line 1,030: | ||
</nowiki></pre></nowiki></pre> | </nowiki></pre></nowiki></pre> | ||
=== Footer links === | |||
<div class="sf-manual-example"> | <div class="sf-manual-example"> | ||
| Line 917: | Line 1,044: | ||
</div></nowiki></pre> | </div></nowiki></pre> | ||
=== Badges === | |||
<div class="sf-manual-example"> | <div class="sf-manual-example"> | ||
| Line 932: | Line 1,061: | ||
< | == 7. Images & Galleries <span id="manual-images"></span> == | ||
=== Before inserting an image === | |||
<ul> | <ul> | ||
| Line 944: | Line 1,077: | ||
</ul> | </ul> | ||
=== Recommended filename pattern === | |||
<pre class="sf-codeblock"><nowiki>Sinfar_Area_Western_Frontier_Overview.jpg | <pre class="sf-codeblock"><nowiki>Sinfar_Area_Western_Frontier_Overview.jpg | ||
| Line 950: | Line 1,085: | ||
Sinfar_Event_Market_Fair_2026.jpg</nowiki></pre> | Sinfar_Event_Market_Fair_2026.jpg</nowiki></pre> | ||
<pre class="sf-codeblock"><nowiki>[[File:Example.jpg]]</nowiki></pre> | === Basic image === | ||
<pre class="sf-codeblock"><nowiki>[[File:Example.jpg]]</nowiki></pre> | |||
=== Sized image === | |||
<pre class="sf-codeblock"><nowiki>[[File:Example.jpg|600px]]</nowiki></pre> | <pre class="sf-codeblock"><nowiki>[[File:Example.jpg|600px]]</nowiki></pre> | ||
=== Centered image === | |||
<pre class="sf-codeblock"><nowiki>[[File:Example.jpg|center|900px]]</nowiki></pre> | <pre class="sf-codeblock"><nowiki>[[File:Example.jpg|center|900px]]</nowiki></pre> | ||
=== Thumbnail with caption === | |||
<pre class="sf-codeblock"><nowiki>[[File:Example.jpg|thumb|right|320px|A view of the western ruins.]]</nowiki></pre> | <pre class="sf-codeblock"><nowiki>[[File:Example.jpg|thumb|right|320px|A view of the western ruins.]]</nowiki></pre> | ||
=== Frameless image === | |||
<pre class="sf-codeblock"><nowiki>[[File:Example.jpg|frameless|600px]]</nowiki></pre> | <pre class="sf-codeblock"><nowiki>[[File:Example.jpg|frameless|600px]]</nowiki></pre> | ||
=== Alternative text === | |||
<pre class="sf-codeblock"><nowiki>[[File:Example.jpg | <pre class="sf-codeblock"><nowiki>[[File:Example.jpg | ||
| Line 980: | Line 1,127: | ||
]]</nowiki></pre> | ]]</nowiki></pre> | ||
=== Image linked to a Wiki page === | |||
<pre class="sf-codeblock"><nowiki>[[File:Example.jpg|500px|link=Player Housing|alt=An example player house.]]</nowiki></pre> | <pre class="sf-codeblock"><nowiki>[[File:Example.jpg|500px|link=Player Housing|alt=An example player house.]]</nowiki></pre> | ||
=== Image with no link === | |||
<pre class="sf-codeblock"><nowiki>[[File:Example.jpg|500px|link=|alt=A scenic view of Sinfar.]]</nowiki></pre> | <pre class="sf-codeblock"><nowiki>[[File:Example.jpg|500px|link=|alt=A scenic view of Sinfar.]]</nowiki></pre> | ||
=== Sinfar screenshot frame === | |||
<pre class="sf-codeblock"><nowiki><div class="sf-img-frame"> | <pre class="sf-codeblock"><nowiki><div class="sf-img-frame"> | ||
| Line 998: | Line 1,151: | ||
</div> | </div> | ||
=== Basic gallery === | |||
<pre class="sf-codeblock"><nowiki><gallery> | <pre class="sf-codeblock"><nowiki><gallery> | ||
| Line 1,007: | Line 1,162: | ||
</gallery></nowiki></pre> | </gallery></nowiki></pre> | ||
=== Packed responsive gallery === | |||
<pre class="sf-codeblock"><nowiki><gallery mode="packed" heights="170"> | <pre class="sf-codeblock"><nowiki><gallery mode="packed" heights="170"> | ||
| Line 1,016: | Line 1,173: | ||
</gallery></nowiki></pre> | </gallery></nowiki></pre> | ||
=== Gallery options === | |||
<table class="sf-table"> | <table class="sf-table"> | ||
| Line 1,045: | Line 1,204: | ||
</table> | </table> | ||
=== Gallery with title === | |||
<pre class="sf-codeblock"><nowiki><gallery mode="packed" heights="170" caption="Western Frontier"> | <pre class="sf-codeblock"><nowiki><gallery mode="packed" heights="170" caption="Western Frontier"> | ||
| Line 1,059: | Line 1,220: | ||
< | |||
== 8. Tables <span id="manual-tables"></span> == | |||
<p>Sinfar pages use the HTML table structure with the shared <code>sf-table</code> class as the preferred standard. It is easier to read, maintain, and combine with the unified stylesheet.</p> | <p>Sinfar pages use the HTML table structure with the shared <code>sf-table</code> class as the preferred standard. It is easier to read, maintain, and combine with the unified stylesheet.</p> | ||
=== Standard Sinfar table === | |||
<div class="sf-manual-example"> | <div class="sf-manual-example"> | ||
<table class="sf-table"> | <table class="sf-reference-table sf-matrix"> | ||
<tr> | <tr class="sf-table-head"> | ||
<th scope="col">Area</th> | <th scope="col">Area</th> | ||
<th scope="col">Suggested Level</th> | <th scope="col">Suggested Level</th> | ||
| Line 1,073: | Line 1,238: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
< | <th scope="row">Old Forest Road</th> | ||
<td>3–6</td> | <td><span class="sf-data-label">Suggested Level</span><span class="sf-data-value">3–6</span></td> | ||
<td>Good introductory exploration route.</td> | <td><span class="sf-data-label">Notes</span><span class="sf-data-value">Good introductory exploration route.</span></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
< | <th scope="row">Western Ruins</th> | ||
<td>6–10</td> | <td><span class="sf-data-label">Suggested Level</span><span class="sf-data-value">6–10</span></td> | ||
<td>Contains traps and stronger encounters.</td> | <td><span class="sf-data-label">Notes</span><span class="sf-data-value">Contains traps and stronger encounters.</span></td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
</div> | </div> | ||
| Line 1,103: | Line 1,268: | ||
</table></nowiki></pre> | </table></nowiki></pre> | ||
=== Sortable table === | |||
<pre class="sf-codeblock"><nowiki><table class="sf-table sortable"> | <pre class="sf-codeblock"><nowiki><table class="sf-table sortable"> | ||
| Line 1,123: | Line 1,290: | ||
</table></nowiki></pre> | </table></nowiki></pre> | ||
=== Column widths === | |||
<pre class="sf-codeblock"><nowiki><table class="sf-table"> | <pre class="sf-codeblock"><nowiki><table class="sf-table"> | ||
| Line 1,138: | Line 1,307: | ||
</table></nowiki></pre> | </table></nowiki></pre> | ||
=== Wide table with horizontal scrolling === | |||
<pre class="sf-codeblock"><nowiki><div class="sf-table-scroll"> | <pre class="sf-codeblock"><nowiki><div class="sf-table-scroll"> | ||
| Line 1,163: | Line 1,334: | ||
</div></nowiki></pre> | </div></nowiki></pre> | ||
=== Merged columns === | |||
<pre class="sf-codeblock"><nowiki><table class="sf-table"> | <pre class="sf-codeblock"><nowiki><table class="sf-table"> | ||
| Line 1,181: | Line 1,354: | ||
</table></nowiki></pre> | </table></nowiki></pre> | ||
=== Merged rows === | |||
<pre class="sf-codeblock"><nowiki><table class="sf-table"> | <pre class="sf-codeblock"><nowiki><table class="sf-table"> | ||
| Line 1,200: | Line 1,375: | ||
</table></nowiki></pre> | </table></nowiki></pre> | ||
=== Row header === | |||
<pre class="sf-codeblock"><nowiki><table class="sf-table"> | <pre class="sf-codeblock"><nowiki><table class="sf-table"> | ||
| Line 1,217: | Line 1,394: | ||
</table></nowiki></pre> | </table></nowiki></pre> | ||
=== Centered values === | |||
<pre class="sf-codeblock"><nowiki><table class="sf-table"> | <pre class="sf-codeblock"><nowiki><table class="sf-table"> | ||
| Line 1,232: | Line 1,411: | ||
</table></nowiki></pre> | </table></nowiki></pre> | ||
=== Native wikitext table === | |||
<pre class="sf-codeblock"><nowiki>{| class="sf-table" | <pre class="sf-codeblock"><nowiki>{| class="sf-table" | ||
| Line 1,258: | Line 1,439: | ||
< | |||
== 9. Icons & Symbols <span id="manual-icons"></span> == | |||
<p>Small Unicode symbols may be placed directly before headings or labels. They require no image upload and inherit the heading’s existing color.</p> | <p>Small Unicode symbols may be placed directly before headings or labels. They require no image upload and inherit the heading’s existing color.</p> | ||
=== Inline heading example === | |||
<div class="sf-manual-example"> | <div class="sf-manual-example"> | ||
< | <span id=".E2.9A.92_Crafting_Systems"></span><div class="sf-label" id="⚒_Crafting_Systems">⚒ Crafting Systems</div> | ||
<p>Guides and references for player-facing professions and production systems.</p> | <p>Guides and references for player-facing professions and production systems.</p> | ||
</div> | </div> | ||
| Line 1,271: | Line 1,456: | ||
<pre class="sf-codeblock"><nowiki><h3>⚒ Crafting Systems</h3></nowiki></pre> | <pre class="sf-codeblock"><nowiki><h3>⚒ Crafting Systems</h3></nowiki></pre> | ||
<table class="sf-table"> | === Recommended Sinfar symbols === | ||
<tr> | |||
<table class="sf-reference-table sf-matrix"> | |||
<tr class="sf-table-head"> | |||
<th scope="col">Meaning</th> | <th scope="col">Meaning</th> | ||
<th scope="col">Symbol</th> | <th scope="col">Symbol</th> | ||
| Line 1,280: | Line 1,467: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
< | <th scope="row">Create or begin</th> | ||
<td>✦</td> | <td><span class="sf-data-label">Symbol</span><span class="sf-data-value">✦</span></td> | ||
<td><code><nowiki><h3>✦ Create a Page</h3></nowiki></code></td> | <td><span class="sf-data-label">Example</span><span class="sf-data-value"><code><nowiki><h3>✦ Create a Page</h3></nowiki></code></span></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
< | <th scope="row">Edit or revise</th> | ||
<td>✎</td> | <td><span class="sf-data-label">Symbol</span><span class="sf-data-value">✎</span></td> | ||
<td><code><nowiki><h3>✎ Editing</h3></nowiki></code></td> | <td><span class="sf-data-label">Example</span><span class="sf-data-value"><code><nowiki><h3>✎ Editing</h3></nowiki></code></span></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
< | <th scope="row">Writing or authorship</th> | ||
<td>✒</td> | <td><span class="sf-data-label">Symbol</span><span class="sf-data-value">✒</span></td> | ||
<td><code><nowiki><h3>✒ Author’s Notes</h3></nowiki></code></td> | <td><span class="sf-data-label">Example</span><span class="sf-data-value"><code><nowiki><h3>✒ Author’s Notes</h3></nowiki></code></span></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
< | <th scope="row">High priority</th> | ||
<td>★</td> | <td><span class="sf-data-label">Symbol</span><span class="sf-data-value">★</span></td> | ||
<td><code><nowiki><h3>★ Wanted Article</h3></nowiki></code></td> | <td><span class="sf-data-label">Example</span><span class="sf-data-value"><code><nowiki><h3>★ Wanted Article</h3></nowiki></code></span></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
< | <th scope="row">Reference</th> | ||
<td>◆</td> | <td><span class="sf-data-label">Symbol</span><span class="sf-data-value">◆</span></td> | ||
<td><code><nowiki><h3>◆ Quick Reference</h3></nowiki></code></td> | <td><span class="sf-data-label">Example</span><span class="sf-data-value"><code><nowiki><h3>◆ Quick Reference</h3></nowiki></code></span></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
< | <th scope="row">Featured guide</th> | ||
<td>◈</td> | <td><span class="sf-data-label">Symbol</span><span class="sf-data-value">◈</span></td> | ||
<td><code><nowiki><h3>◈ Featured Guide</h3></nowiki></code></td> | <td><span class="sf-data-label">Example</span><span class="sf-data-value"><code><nowiki><h3>◈ Featured Guide</h3></nowiki></code></span></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
< | <th scope="row">Continue or proceed</th> | ||
<td>➜</td> | <td><span class="sf-data-label">Symbol</span><span class="sf-data-value">➜</span></td> | ||
<td><code><nowiki><h3>➜ Continue</h3></nowiki></code></td> | <td><span class="sf-data-label">Example</span><span class="sf-data-value"><code><nowiki><h3>➜ Continue</h3></nowiki></code></span></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
< | <th scope="row">Completed or correct</th> | ||
<td>✓</td> | <td><span class="sf-data-label">Symbol</span><span class="sf-data-value">✓</span></td> | ||
<td><code><nowiki><h3>✓ Verified</h3></nowiki></code></td> | <td><span class="sf-data-label">Example</span><span class="sf-data-value"><code><nowiki><h3>✓ Verified</h3></nowiki></code></span></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
< | <th scope="row">Warning</th> | ||
<td>⚠</td> | <td><span class="sf-data-label">Symbol</span><span class="sf-data-value">⚠</span></td> | ||
<td><code><nowiki><h3>⚠ Warning</h3></nowiki></code></td> | <td><span class="sf-data-label">Example</span><span class="sf-data-value"><code><nowiki><h3>⚠ Warning</h3></nowiki></code></span></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
< | <th scope="row">Combat</th> | ||
<td>⚔</td> | <td><span class="sf-data-label">Symbol</span><span class="sf-data-value">⚔</span></td> | ||
<td><code><nowiki><h3>⚔ Combat</h3></nowiki></code></td> | <td><span class="sf-data-label">Example</span><span class="sf-data-value"><code><nowiki><h3>⚔ Combat</h3></nowiki></code></span></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
< | <th scope="row">Building or crafting</th> | ||
<td>⚒</td> | <td><span class="sf-data-label">Symbol</span><span class="sf-data-value">⚒</span></td> | ||
<td><code><nowiki><h3>⚒ Crafting</h3></nowiki></code></td> | <td><span class="sf-data-label">Example</span><span class="sf-data-value"><code><nowiki><h3>⚒ Crafting</h3></nowiki></code></span></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
< | <th scope="row">System or mechanics</th> | ||
<td>⚙</td> | <td><span class="sf-data-label">Symbol</span><span class="sf-data-value">⚙</span></td> | ||
<td><code><nowiki><h3>⚙ Mechanics</h3></nowiki></code></td> | <td><span class="sf-data-label">Example</span><span class="sf-data-value"><code><nowiki><h3>⚙ Mechanics</h3></nowiki></code></span></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
< | <th scope="row">Rules or legal text</th> | ||
<td>§</td> | <td><span class="sf-data-label">Symbol</span><span class="sf-data-value">§</span></td> | ||
<td><code><nowiki><h3>§ Rules</h3></nowiki></code></td> | <td><span class="sf-data-label">Example</span><span class="sf-data-value"><code><nowiki><h3>§ Rules</h3></nowiki></code></span></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
< | <th scope="row">Community</th> | ||
<td>◎</td> | <td><span class="sf-data-label">Symbol</span><span class="sf-data-value">◎</span></td> | ||
<td><code><nowiki><h3>◎ Community</h3></nowiki></code></td> | <td><span class="sf-data-label">Example</span><span class="sf-data-value"><code><nowiki><h3>◎ Community</h3></nowiki></code></span></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
< | <th scope="row">Location or target</th> | ||
<td>⌖</td> | <td><span class="sf-data-label">Symbol</span><span class="sf-data-value">⌖</span></td> | ||
<td><code><nowiki><h3>⌖ Location</h3></nowiki></code></td> | <td><span class="sf-data-label">Example</span><span class="sf-data-value"><code><nowiki><h3>⌖ Location</h3></nowiki></code></span></td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
=== Additional neutral symbols === | |||
<pre class="sf-codeblock"><nowiki>• ‣ ▪ ▫ ◆ ◇ ◈ ○ ● ◦ | <pre class="sf-codeblock"><nowiki>• ‣ ▪ ▫ ◆ ◇ ◈ ○ ● ◦ | ||
| Line 1,376: | Line 1,565: | ||
< | |||
== 10. Color Standard <span id="manual-colors"></span> == | |||
<p>The unified palette is controlled through <code>Common.css</code>. Use established classes whenever possible. Direct color values should be reserved for isolated emphasis, verified channel colors, or documented special cases.</p> | <p>The unified palette is controlled through <code>Common.css</code>. Use established classes whenever possible. Direct color values should be reserved for isolated emphasis, verified channel colors, or documented special cases.</p> | ||
<table class="sf-table"> | === Core palette === | ||
<tr> | |||
<table class="sf-reference-table sf-matrix"> | |||
<tr class="sf-table-head"> | |||
<th scope="col">Role</th> | <th scope="col">Role</th> | ||
<th scope="col">Color</th> | <th scope="col">Color</th> | ||
| Line 1,390: | Line 1,583: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
< | <th scope="row"><b>Page shell</b></th> | ||
<td><span class="sf-color-swatch" style="background:#11161d;"></span>Dark blue-black</td> | <td><span class="sf-data-label">Color</span><span class="sf-data-value"><span class="sf-color-swatch" style="background:#11161d;"></span>Dark blue-black</span></td> | ||
<td><code>#11161d</code></td> | <td><span class="sf-data-label">Value</span><span class="sf-data-value"><code>#11161d</code></span></td> | ||
<td>Main article shell</td> | <td><span class="sf-data-label">Use</span><span class="sf-data-value">Main article shell</span></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
< | <th scope="row"><b>Panel</b></th> | ||
<td><span class="sf-color-swatch" style="background:#181214;"></span>Dark brown-black</td> | <td><span class="sf-data-label">Color</span><span class="sf-data-value"><span class="sf-color-swatch" style="background:#181214;"></span>Dark brown-black</span></td> | ||
<td><code>#181214</code></td> | <td><span class="sf-data-label">Value</span><span class="sf-data-value"><code>#181214</code></span></td> | ||
<td>Cards, tables, notes, and utility panels</td> | <td><span class="sf-data-label">Use</span><span class="sf-data-value">Cards, tables, notes, and utility panels</span></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
< | <th scope="row"><b>Body text</b></th> | ||
<td><span class="sf-color-swatch" style="background:#f4efe6;"></span>Off-white</td> | <td><span class="sf-data-label">Color</span><span class="sf-data-value"><span class="sf-color-swatch" style="background:#f4efe6;"></span>Off-white</span></td> | ||
<td><code>#f4efe6</code></td> | <td><span class="sf-data-label">Value</span><span class="sf-data-value"><code>#f4efe6</code></span></td> | ||
<td>Normal readable text</td> | <td><span class="sf-data-label">Use</span><span class="sf-data-value">Normal readable text</span></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
< | <th scope="row"><b>Muted text</b></th> | ||
<td><span class="sf-color-swatch" style="background:#c9bda9;"></span>Muted parchment</td> | <td><span class="sf-data-label">Color</span><span class="sf-data-value"><span class="sf-color-swatch" style="background:#c9bda9;"></span>Muted parchment</span></td> | ||
<td><code>#c9bda9</code></td> | <td><span class="sf-data-label">Value</span><span class="sf-data-value"><code>#c9bda9</code></span></td> | ||
<td>Secondary information</td> | <td><span class="sf-data-label">Use</span><span class="sf-data-value">Secondary information</span></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
< | <th scope="row"><b>Gold</b></th> | ||
<td><span class="sf-color-swatch" style="background:#d8b46a;"></span>Sinfar gold</td> | <td><span class="sf-data-label">Color</span><span class="sf-data-value"><span class="sf-color-swatch" style="background:#d8b46a;"></span>Sinfar gold</span></td> | ||
<td><code>#d8b46a</code></td> | <td><span class="sf-data-label">Value</span><span class="sf-data-value"><code>#d8b46a</code></span></td> | ||
<td>Eyebrows, labels, borders, and accents</td> | <td><span class="sf-data-label">Use</span><span class="sf-data-value">Eyebrows, labels, borders, and accents</span></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
< | <th scope="row"><b>Bright gold</b></th> | ||
<td><span class="sf-color-swatch" style="background:#f0d28a;"></span>Bright gold</td> | <td><span class="sf-data-label">Color</span><span class="sf-data-value"><span class="sf-color-swatch" style="background:#f0d28a;"></span>Bright gold</span></td> | ||
<td><code>#f0d28a</code></td> | <td><span class="sf-data-label">Value</span><span class="sf-data-value"><code>#f0d28a</code></span></td> | ||
<td>Headings and important labels</td> | <td><span class="sf-data-label">Use</span><span class="sf-data-value">Headings and important labels</span></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
< | <th scope="row"><b>Link blue</b></th> | ||
<td><span class="sf-color-swatch" style="background:#8fc6ff;"></span>Link blue</td> | <td><span class="sf-data-label">Color</span><span class="sf-data-value"><span class="sf-color-swatch" style="background:#8fc6ff;"></span>Link blue</span></td> | ||
<td><code>#8fc6ff</code></td> | <td><span class="sf-data-label">Value</span><span class="sf-data-value"><code>#8fc6ff</code></span></td> | ||
<td>Internal and external links</td> | <td><span class="sf-data-label">Use</span><span class="sf-data-value">Internal and external links</span></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
< | <th scope="row"><b>Hover blue</b></th> | ||
<td><span class="sf-color-swatch" style="background:#b8d6ff;"></span>Light blue</td> | <td><span class="sf-data-label">Color</span><span class="sf-data-value"><span class="sf-color-swatch" style="background:#b8d6ff;"></span>Light blue</span></td> | ||
<td><code>#b8d6ff</code></td> | <td><span class="sf-data-label">Value</span><span class="sf-data-value"><code>#b8d6ff</code></span></td> | ||
<td>Hovered links</td> | <td><span class="sf-data-label">Use</span><span class="sf-data-value">Hovered links</span></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
< | <th scope="row"><b>Danger red</b></th> | ||
<td><span class="sf-color-swatch" style="background:#9f4b3e;"></span>Muted red</td> | <td><span class="sf-data-label">Color</span><span class="sf-data-value"><span class="sf-color-swatch" style="background:#9f4b3e;"></span>Muted red</span></td> | ||
<td><code>#9f4b3e</code></td> | <td><span class="sf-data-label">Value</span><span class="sf-data-value"><code>#9f4b3e</code></span></td> | ||
<td>Danger and high-priority warnings</td> | <td><span class="sf-data-label">Use</span><span class="sf-data-value">Danger and high-priority warnings</span></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
< | <th scope="row"><b>Success green</b></th> | ||
<td><span class="sf-color-swatch" style="background:#2f5d3a;"></span>Muted green</td> | <td><span class="sf-data-label">Color</span><span class="sf-data-value"><span class="sf-color-swatch" style="background:#2f5d3a;"></span>Muted green</span></td> | ||
<td><code>#2f5d3a</code></td> | <td><span class="sf-data-label">Value</span><span class="sf-data-value"><code>#2f5d3a</code></span></td> | ||
<td>Positive states and success badges</td> | <td><span class="sf-data-label">Use</span><span class="sf-data-value">Positive states and success badges</span></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
< | <th scope="row"><b>Information blue</b></th> | ||
<td><span class="sf-color-swatch" style="background:#334e7a;"></span>Muted blue</td> | <td><span class="sf-data-label">Color</span><span class="sf-data-value"><span class="sf-color-swatch" style="background:#334e7a;"></span>Muted blue</span></td> | ||
<td><code>#334e7a</code></td> | <td><span class="sf-data-label">Value</span><span class="sf-data-value"><code>#334e7a</code></span></td> | ||
<td>Information states</td> | <td><span class="sf-data-label">Use</span><span class="sf-data-value">Information states</span></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
< | <th scope="row"><b>Category purple</b></th> | ||
<td><span class="sf-color-swatch" style="background:#60456f;"></span>Muted purple</td> | <td><span class="sf-data-label">Color</span><span class="sf-data-value"><span class="sf-color-swatch" style="background:#60456f;"></span>Muted purple</span></td> | ||
<td><code>#60456f</code></td> | <td><span class="sf-data-label">Value</span><span class="sf-data-value"><code>#60456f</code></span></td> | ||
<td>Category and area badges</td> | <td><span class="sf-data-label">Use</span><span class="sf-data-value">Category and area badges</span></td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
=== Approved text classes === | |||
<div class="sf-manual-example"> | <div class="sf-manual-example"> | ||
| Line 1,480: | Line 1,675: | ||
<span class="sf-good">Positive value</span></nowiki></pre> | <span class="sf-good">Positive value</span></nowiki></pre> | ||
=== Direct inline color === | |||
<pre class="sf-codeblock"><nowiki><span style="color:#d8b46a;">Gold emphasis</span> | <pre class="sf-codeblock"><nowiki><span style="color:#d8b46a;">Gold emphasis</span> | ||
| Line 1,492: | Line 1,689: | ||
<span style="color:#ff9c8f;">Danger result</span></nowiki></pre> | <span style="color:#ff9c8f;">Danger result</span></nowiki></pre> | ||
=== Colored legacy cards === | |||
<pre class="sf-codeblock"><nowiki><div class="sf-card sf-card--green"> | <pre class="sf-codeblock"><nowiki><div class="sf-card sf-card--green"> | ||
| Line 1,523: | Line 1,722: | ||
</div> | </div> | ||
< | |||
== 11. Typography <span id="manual-typography"></span> == | |||
<p>Typography establishes the information hierarchy of a page. Contributors should use the established Sinfar heading classes, body text, labels, links, and supporting-text styles rather than creating new font systems on individual pages.</p> | <p>Typography establishes the information hierarchy of a page. Contributors should use the established Sinfar heading classes, body text, labels, links, and supporting-text styles rather than creating new font systems on individual pages.</p> | ||
<table class="sf-table"> | === Standard hierarchy === | ||
<tr> | |||
<table class="sf-reference-table sf-matrix"> | |||
<tr class="sf-table-head"> | |||
<th scope="col">Element</th> | <th scope="col">Element</th> | ||
<th scope="col">Source</th> | <th scope="col">Source</th> | ||
| Line 1,536: | Line 1,739: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
< | <th scope="row"><b>Page title</b></th> | ||
<td><code><nowiki><h1>Page Title</h1></nowiki></code></td> | <td><span class="sf-data-label">Source</span><span class="sf-data-value"><code><nowiki><h1>Page Title</h1></nowiki></code></span></td> | ||
<td>Used once inside the page hero.</td> | <td><span class="sf-data-label">Use</span><span class="sf-data-value">Used once inside the page hero.</span></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
< | <th scope="row"><b>Main section</b></th> | ||
<td><code><nowiki><h2 class="sf-section-title">Section</h2></nowiki></code></td> | <td><span class="sf-data-label">Source</span><span class="sf-data-value"><code><nowiki><h2 class="sf-section-title">Section</h2></nowiki></code></span></td> | ||
<td>Begins a major page chapter.</td> | <td><span class="sf-data-label">Use</span><span class="sf-data-value">Begins a major page chapter.</span></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
< | <th scope="row"><b>Subsection</b></th> | ||
<td><code><nowiki><h3 class="sf-subheading">Subsection</h3></nowiki></code></td> | <td><span class="sf-data-label">Source</span><span class="sf-data-value"><code><nowiki><h3 class="sf-subheading">Subsection</h3></nowiki></code></span></td> | ||
<td>Divides a major chapter into smaller subjects.</td> | <td><span class="sf-data-label">Use</span><span class="sf-data-value">Divides a major chapter into smaller subjects.</span></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
< | <th scope="row"><b>Card heading</b></th> | ||
<td><code><nowiki><h3>Card Title</h3></nowiki></code></td> | <td><span class="sf-data-label">Source</span><span class="sf-data-value"><code><nowiki><h3>Card Title</h3></nowiki></code></span></td> | ||
<td>Names the subject contained inside a card.</td> | <td><span class="sf-data-label">Use</span><span class="sf-data-value">Names the subject contained inside a card.</span></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
< | <th scope="row"><b>Body paragraph</b></th> | ||
<td><code><nowiki><p>Body text.</p></nowiki></code></td> | <td><span class="sf-data-label">Source</span><span class="sf-data-value"><code><nowiki><p>Body text.</p></nowiki></code></span></td> | ||
<td>Normal explanatory information.</td> | <td><span class="sf-data-label">Use</span><span class="sf-data-value">Normal explanatory information.</span></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
< | <th scope="row"><b>Supporting text</b></th> | ||
<td><code><nowiki><span class="sf-muted">Supporting text</span></nowiki></code></td> | <td><span class="sf-data-label">Source</span><span class="sf-data-value"><code><nowiki><span class="sf-muted">Supporting text</span></nowiki></code></span></td> | ||
<td>Secondary details that should remain readable but visually quieter.</td> | <td><span class="sf-data-label">Use</span><span class="sf-data-value">Secondary details that should remain readable but visually quieter.</span></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
< | <th scope="row"><b>Label</b></th> | ||
<td><code><nowiki><span class="sf-label">Label</span></nowiki></code></td> | <td><span class="sf-data-label">Source</span><span class="sf-data-value"><code><nowiki><span class="sf-label">Label</span></nowiki></code></span></td> | ||
<td>Short gold labels, metadata names, and category indicators.</td> | <td><span class="sf-data-label">Use</span><span class="sf-data-value">Short gold labels, metadata names, and category indicators.</span></td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
=== Heading example === | |||
<div class="sf-manual-example"> | <div class="sf-manual-example"> | ||
| Line 1,578: | Line 1,783: | ||
<div class="sf-hero sf-hero-compact"> | <div class="sf-hero sf-hero-compact"> | ||
<div class="sf-eyebrow">Area Guide</div> | <div class="sf-eyebrow">Area Guide</div> | ||
< | <div class="sf-label" id="The_Western_Frontier_2">The Western Frontier</div> | ||
<p>A complete reference for the region, its routes, and its important locations.</p> | <p>A complete reference for the region, its routes, and its important locations.</p> | ||
</div> | </div> | ||
< | <div class="sf-label" id="Points_of_Interest">Points of Interest</div> | ||
< | <div class="sf-label" id="The_Northern_Road">The Northern Road</div> | ||
<p>The northern road provides access to the oldest ruins in the region.</p> | <p>The northern road provides access to the oldest ruins in the region.</p> | ||
| Line 1,602: | Line 1,807: | ||
<p>The northern road provides access to the oldest ruins in the region.</p></nowiki></pre> | <p>The northern road provides access to the oldest ruins in the region.</p></nowiki></pre> | ||
=== Readable paragraph standard === | |||
<ul> | <ul> | ||
| Line 1,613: | Line 1,820: | ||
</ul> | </ul> | ||
<table class="sf-table"> | === Text alignment === | ||
<tr> | |||
<table class="sf-reference-table sf-matrix"> | |||
<tr class="sf-table-head"> | |||
<th scope="col">Alignment</th> | <th scope="col">Alignment</th> | ||
<th scope="col">Source</th> | <th scope="col">Source</th> | ||
| Line 1,622: | Line 1,831: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
< | <th scope="row">Left</th> | ||
<td><code><nowiki><div style="text-align:left;">Text</div></nowiki></code></td> | <td><span class="sf-data-label">Source</span><span class="sf-data-value"><code><nowiki><div style="text-align:left;">Text</div></nowiki></code></span></td> | ||
<td>Default for paragraphs, lists, and most table cells.</td> | <td><span class="sf-data-label">Recommended Use</span><span class="sf-data-value">Default for paragraphs, lists, and most table cells.</span></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
< | <th scope="row">Center</th> | ||
<td><code><nowiki><div style="text-align:center;">Text</div></nowiki></code></td> | <td><span class="sf-data-label">Source</span><span class="sf-data-value"><code><nowiki><div style="text-align:center;">Text</div></nowiki></code></span></td> | ||
<td>Short labels, image captions, statistics, and selected visual elements.</td> | <td><span class="sf-data-label">Recommended Use</span><span class="sf-data-value">Short labels, image captions, statistics, and selected visual elements.</span></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
< | <th scope="row">Right</th> | ||
<td><code><nowiki><div style="text-align:right;">Text</div></nowiki></code></td> | <td><span class="sf-data-label">Source</span><span class="sf-data-value"><code><nowiki><div style="text-align:right;">Text</div></nowiki></code></span></td> | ||
<td>Rarely needed; may be useful for compact numerical presentation.</td> | <td><span class="sf-data-label">Recommended Use</span><span class="sf-data-value">Rarely needed; may be useful for compact numerical presentation.</span></td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
| Line 1,643: | Line 1,852: | ||
</div> | </div> | ||
=== Font-size reference === | |||
<table class="sf-table"> | <table class="sf-table"> | ||
| Line 1,669: | Line 1,880: | ||
< | |||
== 12. Layout Standards <span id="manual-layouts"></span> == | |||
<p>Sinfar pages use several recurring layout families. Select the family that matches the article’s purpose rather than forcing every subject into the same structure.</p> | <p>Sinfar pages use several recurring layout families. Select the family that matches the article’s purpose rather than forcing every subject into the same structure.</p> | ||
=== Compact utility page === | |||
<p>The compact utility layout is the default for informational pages, system references, troubleshooting, rules, commands, scripts, and technical documentation.</p> | <p>The compact utility layout is the default for informational pages, system references, troubleshooting, rules, commands, scripts, and technical documentation.</p> | ||
| Line 1,714: | Line 1,929: | ||
</div></nowiki></pre> | </div></nowiki></pre> | ||
=== Guide page === | |||
<p>Use the guide layout for leveling routes, crafting instructions, housing setup, event participation, travel, and other action-oriented subjects.</p> | <p>Use the guide layout for leveling routes, crafting instructions, housing setup, event participation, travel, and other action-oriented subjects.</p> | ||
| Line 1,758: | Line 1,975: | ||
</div></nowiki></pre> | </div></nowiki></pre> | ||
=== Area or location page === | |||
<p>Area pages should quickly explain what the location is, where it connects, why players may visit, and what risks or activities exist there.</p> | <p>Area pages should quickly explain what the location is, where it connects, why players may visit, and what risks or activities exist there.</p> | ||
| Line 1,826: | Line 2,045: | ||
</div></nowiki></pre> | </div></nowiki></pre> | ||
=== System documentation page === | |||
<p>Use this layout for crafting systems, server mechanics, custom features, commands, and builder-facing technical documentation.</p> | <p>Use this layout for crafting systems, server mechanics, custom features, commands, and builder-facing technical documentation.</p> | ||
| Line 1,891: | Line 2,112: | ||
</div></nowiki></pre> | </div></nowiki></pre> | ||
=== Landing or hub page === | |||
<p>Landing pages organize major resource categories. They may use more visual presentation than ordinary utility pages, but should still remain clear and navigable.</p> | <p>Landing pages organize major resource categories. They may use more visual presentation than ordinary utility pages, but should still remain clear and navigable.</p> | ||
| Line 1,929: | Line 2,152: | ||
</div></nowiki></pre> | </div></nowiki></pre> | ||
=== Layout selection table === | |||
<table class="sf-table"> | <table class="sf-table"> | ||
| Line 1,964: | Line 2,189: | ||
< | |||
== 13. Navigation Standards <span id="manual-navigation-standards"></span> == | |||
<p>Every page should connect readers to the next useful destination. Navigation should be intentional, descriptive, and limited to genuinely related resources.</p> | <p>Every page should connect readers to the next useful destination. Navigation should be intentional, descriptive, and limited to genuinely related resources.</p> | ||
=== Internal links === | |||
<pre class="sf-codeblock"><nowiki>[[Player Housing]] | <pre class="sf-codeblock"><nowiki>[[Player Housing]] | ||
| Line 1,976: | Line 2,205: | ||
[[Player Housing#Buying a Property|buying a property]]</nowiki></pre> | [[Player Housing#Buying a Property|buying a property]]</nowiki></pre> | ||
=== Footer navigation === | |||
<div class="sf-manual-example"> | <div class="sf-manual-example"> | ||
| Line 1,988: | Line 2,219: | ||
</div></nowiki></pre> | </div></nowiki></pre> | ||
=== Navigation cards === | |||
<pre class="sf-codeblock"><nowiki><div class="sf-grid-3"> | <pre class="sf-codeblock"><nowiki><div class="sf-grid-3"> | ||
| Line 2,018: | Line 2,251: | ||
</div></nowiki></pre> | </div></nowiki></pre> | ||
=== Action list === | |||
<pre class="sf-codeblock"><nowiki><ul class="sf-action-list"> | <pre class="sf-codeblock"><nowiki><ul class="sf-action-list"> | ||
| Line 2,026: | Line 2,261: | ||
</ul></nowiki></pre> | </ul></nowiki></pre> | ||
=== Page-directory links === | |||
<pre class="sf-codeblock"><nowiki>[[#Overview|Overview]] | <pre class="sf-codeblock"><nowiki>[[#Overview|Overview]] | ||
| Line 2,032: | Line 2,269: | ||
[[#Troubleshooting|Troubleshooting]]</nowiki></pre> | [[#Troubleshooting|Troubleshooting]]</nowiki></pre> | ||
=== Redirects for alternate names === | |||
<pre class="sf-codeblock"><nowiki>#REDIRECT [[Canonical Page Title]]</nowiki></pre> | <pre class="sf-codeblock"><nowiki>#REDIRECT [[Canonical Page Title]]</nowiki></pre> | ||
=== Related-page standards === | |||
<ul> | <ul> | ||
| Line 2,047: | Line 2,288: | ||
</ul> | </ul> | ||
=== Categories as navigation === | |||
<pre class="sf-codeblock"><nowiki>[[Category:Player Guides]] | <pre class="sf-codeblock"><nowiki>[[Category:Player Guides]] | ||
| Line 2,058: | Line 2,301: | ||
< | |||
== 14. Templates <span id="manual-templates"></span> == | |||
<p>MediaWiki templates allow repeated content to be stored once and inserted into many pages. Use templates for information that must remain consistent across multiple articles.</p> | <p>MediaWiki templates allow repeated content to be stored once and inserted into many pages. Use templates for information that must remain consistent across multiple articles.</p> | ||
=== Basic template use === | |||
<pre class="sf-codeblock"><nowiki>{{Template Name}}</nowiki></pre> | <pre class="sf-codeblock"><nowiki>{{Template Name}}</nowiki></pre> | ||
=== Template with named parameters === | |||
<pre class="sf-codeblock"><nowiki>{{Area Summary | <pre class="sf-codeblock"><nowiki>{{Area Summary | ||
| Line 2,075: | Line 2,324: | ||
}}</nowiki></pre> | }}</nowiki></pre> | ||
=== Template with numbered parameters === | |||
<pre class="sf-codeblock"><nowiki>{{Example Template|First value|Second value}}</nowiki></pre> | <pre class="sf-codeblock"><nowiki>{{Example Template|First value|Second value}}</nowiki></pre> | ||
=== Displaying a default parameter value === | |||
<pre class="sf-codeblock"><nowiki>{{{name|Unnamed location}}}</nowiki></pre> | <pre class="sf-codeblock"><nowiki>{{{name|Unnamed location}}}</nowiki></pre> | ||
=== Basic template source === | |||
<pre class="sf-codeblock"><nowiki><div class="sf-card"> | <pre class="sf-codeblock"><nowiki><div class="sf-card"> | ||
| Line 2,092: | Line 2,347: | ||
</div></nowiki></pre> | </div></nowiki></pre> | ||
=== Template documentation pattern === | |||
<pre class="sf-codeblock"><nowiki><noinclude> | <pre class="sf-codeblock"><nowiki><noinclude> | ||
| Line 2,135: | Line 2,392: | ||
</includeonly></nowiki></pre> | </includeonly></nowiki></pre> | ||
=== Template-control tags === | |||
<table class="sf-table"> | <table class="sf-table"> | ||
| Line 2,156: | Line 2,415: | ||
</table> | </table> | ||
<div class="sf-grid- | === When to create a template === | ||
<div class="sf-choice-grid"> | |||
<div class="sf-content-panel"> | |||
=== ✓ Good Template Uses === | |||
<ul> | <ul> | ||
<li>Repeated information boxes</li> | <li>Repeated information boxes</li> | ||
| Line 2,171: | Line 2,434: | ||
</div> | </div> | ||
<div class="sf- | <div class="sf-content-panel"> | ||
=== ✗ Poor Template Uses === | |||
<ul> | <ul> | ||
<li>Content appearing on only one page</li> | <li>Content appearing on only one page</li> | ||
| Line 2,193: | Line 2,458: | ||
</div> | </div> | ||
< | |||
== 15. Common Page Patterns <span id="manual-patterns"></span> == | |||
<p>The following patterns provide recommended information structures for common Sinfar subjects. They are not rigid forms; remove irrelevant fields and add sections only when the subject requires them.</p> | <p>The following patterns provide recommended information structures for common Sinfar subjects. They are not rigid forms; remove irrelevant fields and add sections only when the subject requires them.</p> | ||
=== Area guide pattern === | |||
<table class="sf-table"> | <table class="sf-table"> | ||
| Line 2,234: | Line 2,503: | ||
</table> | </table> | ||
=== Crafting-system pattern === | |||
<table class="sf-table"> | <table class="sf-table"> | ||
| Line 2,271: | Line 2,542: | ||
</table> | </table> | ||
=== Event page pattern === | |||
<table class="sf-table"> | <table class="sf-table"> | ||
| Line 2,308: | Line 2,581: | ||
</table> | </table> | ||
=== Leveling-guide pattern === | |||
<table class="sf-table"> | <table class="sf-table"> | ||
| Line 2,341: | Line 2,616: | ||
</table> | </table> | ||
=== Script documentation pattern === | |||
<table class="sf-table"> | <table class="sf-table"> | ||
| Line 2,378: | Line 2,655: | ||
</table> | </table> | ||
=== Lore or organization pattern === | |||
<table class="sf-table"> | <table class="sf-table"> | ||
| Line 2,416: | Line 2,695: | ||
< | |||
== 16. Accessibility <span id="manual-accessibility"></span> == | |||
<p>Accessible pages are easier to read, navigate, search, and maintain. Accessibility also improves the experience for readers using mobile devices, screen readers, zoomed interfaces, or reduced-vision settings.</p> | <p>Accessible pages are easier to read, navigate, search, and maintain. Accessibility also improves the experience for readers using mobile devices, screen readers, zoomed interfaces, or reduced-vision settings.</p> | ||
=== Heading order === | |||
<pre class="sf-codeblock"><nowiki><h1>Page Title</h1> | <pre class="sf-codeblock"><nowiki><h1>Page Title</h1> | ||
| Line 2,437: | Line 2,720: | ||
</div> | </div> | ||
=== Alternative text === | |||
<pre class="sf-codeblock"><nowiki>[[File:Western_Frontier.jpg | <pre class="sf-codeblock"><nowiki>[[File:Western_Frontier.jpg | ||
| Line 2,447: | Line 2,732: | ||
]]</nowiki></pre> | ]]</nowiki></pre> | ||
=== Writing useful alternative text === | |||
<table class="sf-table"> | <table class="sf-table"> | ||
| Line 2,468: | Line 2,755: | ||
</table> | </table> | ||
=== Decorative images === | |||
<p>An image that communicates no useful information may use an empty alternative description:</p> | <p>An image that communicates no useful information may use an empty alternative description:</p> | ||
| Line 2,474: | Line 2,763: | ||
<pre class="sf-codeblock"><nowiki>[[File:Decorative_Divider.png|600px|link=|alt=]]</nowiki></pre> | <pre class="sf-codeblock"><nowiki>[[File:Decorative_Divider.png|600px|link=|alt=]]</nowiki></pre> | ||
=== Table headers === | |||
<pre class="sf-codeblock"><nowiki><table class="sf-table"> | <pre class="sf-codeblock"><nowiki><table class="sf-table"> | ||
| Line 2,489: | Line 2,780: | ||
</table></nowiki></pre> | </table></nowiki></pre> | ||
=== Color and meaning === | |||
<p>Do not rely on color alone to communicate a status.</p> | <p>Do not rely on color alone to communicate a status.</p> | ||
| Line 2,502: | Line 2,795: | ||
<span class="sf-badge">⚠ Restricted</span></nowiki></pre> | <span class="sf-badge">⚠ Restricted</span></nowiki></pre> | ||
=== Link wording === | |||
<table class="sf-table"> | <table class="sf-table"> | ||
| Line 2,519: | Line 2,814: | ||
</table> | </table> | ||
=== Readable structure === | |||
<ul> | <ul> | ||
| Line 2,536: | Line 2,833: | ||
<p>Efficient pages load faster, remain easier to edit, and reduce the likelihood of rendering problems. Most performance issues come from oversized images, duplicated inline styling, excessive markup, and unnecessarily complex layouts.</p> | == 17. Performance <span id="manual-performance"></span> == | ||
<p>Efficient pages load faster, remain easier to edit, and reduce the likelihood of rendering problems. Most performance issues come from oversized images, duplicated inline styling, excessive markup, and unnecessarily complex layouts.</p> | |||
=== Image performance === | |||
<ul> | <ul> | ||
| Line 2,551: | Line 2,852: | ||
</ul> | </ul> | ||
=== Source performance === | |||
<table class="sf-table"> | <table class="sf-table"> | ||
| Line 2,584: | Line 2,887: | ||
</table> | </table> | ||
=== Component reuse === | |||
<pre class="sf-codeblock"><nowiki><div class="sf-alert sf-alert-warning"> | <pre class="sf-codeblock"><nowiki><div class="sf-alert sf-alert-warning"> | ||
| Line 2,593: | Line 2,898: | ||
<p>This is preferable to repeatedly defining backgrounds, borders, spacing, and typography through inline styles.</p> | <p>This is preferable to repeatedly defining backgrounds, borders, spacing, and typography through inline styles.</p> | ||
=== Collapsible sections === | |||
<p>Collapsible sections are useful when a page contains large reference blocks that many readers will not need immediately.</p> | <p>Collapsible sections are useful when a page contains large reference blocks that many readers will not need immediately.</p> | ||
| Line 2,610: | Line 2,917: | ||
</div> | </div> | ||
=== Page-size management === | |||
<ul> | <ul> | ||
| Line 2,625: | Line 2,934: | ||
< | |||
== 18. Publishing Checklist <span id="manual-checklist"></span> == | |||
<p>Use this checklist before publishing a new article or completing a major refit.</p> | <p>Use this checklist before publishing a new article or completing a major refit.</p> | ||
<div class="sf-grid- | <div class="sf-choice-grid"> | ||
<div class="sf-content-panel"> | |||
=== ✓ Structure === | |||
<ul> | <ul> | ||
<li>Page is wrapped in <code>sf-page</code></li> | <li>Page is wrapped in <code>sf-page</code></li> | ||
| Line 2,642: | Line 2,955: | ||
</div> | </div> | ||
<div class="sf- | <div class="sf-content-panel"> | ||
=== ✓ Content === | |||
<ul> | <ul> | ||
<li>Information is current</li> | <li>Information is current</li> | ||
| Line 2,653: | Line 2,968: | ||
</div> | </div> | ||
<div class="sf- | <div class="sf-content-panel"> | ||
=== ✓ Navigation === | |||
<ul> | <ul> | ||
<li>Internal links were opened</li> | <li>Internal links were opened</li> | ||
| Line 2,666: | Line 2,983: | ||
</div> | </div> | ||
<div class="sf-grid- | <div class="sf-choice-grid"> | ||
<div class="sf-content-panel"> | |||
=== ✓ Images === | |||
<ul> | <ul> | ||
<li>Filenames are correct</li> | <li>Filenames are correct</li> | ||
| Line 2,679: | Line 2,998: | ||
</div> | </div> | ||
<div class="sf- | <div class="sf-content-panel"> | ||
=== ✓ Tables === | |||
<ul> | <ul> | ||
<li>Headers identify every column</li> | <li>Headers identify every column</li> | ||
| Line 2,690: | Line 3,011: | ||
</div> | </div> | ||
<div class="sf- | <div class="sf-content-panel"> | ||
=== ✓ Presentation === | |||
<ul> | <ul> | ||
<li>Shared classes are used</li> | <li>Shared classes are used</li> | ||
| Line 2,703: | Line 3,026: | ||
</div> | </div> | ||
=== Preview process === | |||
<ol> | <ol> | ||
| Line 2,715: | Line 3,040: | ||
</ol> | </ol> | ||
=== Edit-summary examples === | |||
<table class="sf-table"> | <table class="sf-table"> | ||
| Line 2,740: | Line 3,067: | ||
</table> | </table> | ||
=== Change-log standard === | |||
<p>Where a maintained page includes a visible change log, record meaningful content or structural revisions rather than every spelling correction.</p> | <p>Where a maintained page includes a visible change log, record meaningful content or structural revisions rather than every spelling correction.</p> | ||
| Line 2,758: | Line 3,087: | ||
< | == 19. Troubleshooting <span id="manual-troubleshooting"></span> == | ||
<table class="sf-table"> | |||
=== The page stops rendering halfway through === | |||
<table class="sf-table"> | |||
<tr> | <tr> | ||
<th scope="col">Likely Cause</th> | <th scope="col">Likely Cause</th> | ||
| Line 2,785: | Line 3,118: | ||
</table> | </table> | ||
=== A card or grid extends beyond the page === | |||
<ul> | <ul> | ||
| Line 2,795: | Line 3,130: | ||
</ul> | </ul> | ||
=== An image does not appear === | |||
<table class="sf-table"> | <table class="sf-table"> | ||
| Line 2,824: | Line 3,161: | ||
</table> | </table> | ||
=== An internal link is red === | |||
<ul> | <ul> | ||
| Line 2,835: | Line 3,174: | ||
<pre class="sf-codeblock"><nowiki>[[Exact Page Title|Displayed wording]]</nowiki></pre> | <pre class="sf-codeblock"><nowiki>[[Exact Page Title|Displayed wording]]</nowiki></pre> | ||
=== Raw HTML appears on the page === | |||
<ul> | <ul> | ||
| Line 2,845: | Line 3,186: | ||
</ul> | </ul> | ||
=== A table is misaligned === | |||
<ul> | <ul> | ||
| Line 2,855: | Line 3,198: | ||
</ul> | </ul> | ||
=== New CSS does not appear === | |||
<ol> | <ol> | ||
| Line 2,866: | Line 3,211: | ||
</ol> | </ol> | ||
=== The source editor cannot paste the full page === | |||
<div class="sf-alert sf-alert-warning"> | <div class="sf-alert sf-alert-warning"> | ||
| Line 2,877: | Line 3,224: | ||
<!-- PART THREE INSERTS BELOW THIS LINE --></nowiki></pre> | <!-- PART THREE INSERTS BELOW THIS LINE --></nowiki></pre> | ||
=== Finding a specific source block === | |||
<p>Search for a unique sentence, heading ID, or comment rather than a common class name such as <code>sf-card</code> or <code>sf-codeblock</code>.</p> | <p>Search for a unique sentence, heading ID, or comment rather than a common class name such as <code>sf-card</code> or <code>sf-codeblock</code>.</p> | ||
| Line 2,886: | Line 3,235: | ||
< | |||
== 20. Copy/Paste Cookbook <span id="manual-cookbook"></span> == | |||
<p>This section collects the most frequently needed Sinfar page structures in one location.</p> | <p>This section collects the most frequently needed Sinfar page structures in one location.</p> | ||
=== Blank Sinfar page === | |||
<pre class="sf-codeblock"><nowiki>__NOTOC__ | <pre class="sf-codeblock"><nowiki>__NOTOC__ | ||
| Line 2,914: | Line 3,267: | ||
[[Category:Appropriate Category]]</nowiki></pre> | [[Category:Appropriate Category]]</nowiki></pre> | ||
=== Two-column information section === | |||
<pre class="sf-codeblock"><nowiki><div class="sf-grid-2"> | <pre class="sf-codeblock"><nowiki><div class="sf-grid-2"> | ||
| Line 2,930: | Line 3,285: | ||
</div></nowiki></pre> | </div></nowiki></pre> | ||
=== Three-column resource section === | |||
<pre class="sf-codeblock"><nowiki><div class="sf-grid-3"> | <pre class="sf-codeblock"><nowiki><div class="sf-grid-3"> | ||
| Line 2,954: | Line 3,311: | ||
</div></nowiki></pre> | </div></nowiki></pre> | ||
=== Status bar === | |||
<pre class="sf-codeblock"><nowiki><div class="sf-start-status"> | <pre class="sf-codeblock"><nowiki><div class="sf-start-status"> | ||
| Line 2,963: | Line 3,322: | ||
</div></nowiki></pre> | </div></nowiki></pre> | ||
=== Quick reference bar === | |||
<pre class="sf-codeblock"><nowiki><div class="sf-quickbar"> | <pre class="sf-codeblock"><nowiki><div class="sf-quickbar"> | ||
| Line 2,972: | Line 3,333: | ||
</div></nowiki></pre> | </div></nowiki></pre> | ||
=== Information alert === | |||
<pre class="sf-codeblock"><nowiki><div class="sf-alert sf-alert-info"> | <pre class="sf-codeblock"><nowiki><div class="sf-alert sf-alert-info"> | ||
| Line 2,979: | Line 3,342: | ||
</div></nowiki></pre> | </div></nowiki></pre> | ||
=== Warning alert === | |||
<pre class="sf-codeblock"><nowiki><div class="sf-alert sf-alert-warning"> | <pre class="sf-codeblock"><nowiki><div class="sf-alert sf-alert-warning"> | ||
| Line 2,986: | Line 3,351: | ||
</div></nowiki></pre> | </div></nowiki></pre> | ||
=== Danger alert === | |||
<pre class="sf-codeblock"><nowiki><div class="sf-alert sf-alert-danger"> | <pre class="sf-codeblock"><nowiki><div class="sf-alert sf-alert-danger"> | ||
| Line 2,993: | Line 3,360: | ||
</div></nowiki></pre> | </div></nowiki></pre> | ||
=== Neutral note === | |||
<pre class="sf-codeblock"><nowiki><div class="sf-note"> | <pre class="sf-codeblock"><nowiki><div class="sf-note"> | ||
| Line 2,999: | Line 3,368: | ||
</div></nowiki></pre> | </div></nowiki></pre> | ||
=== Basic comparison table === | |||
<pre class="sf-codeblock"><nowiki><table class="sf-table"> | <pre class="sf-codeblock"><nowiki><table class="sf-table"> | ||
| Line 3,019: | Line 3,390: | ||
</table></nowiki></pre> | </table></nowiki></pre> | ||
=== Wide scrolling table === | |||
<pre class="sf-codeblock"><nowiki><div class="sf-table-scroll"> | <pre class="sf-codeblock"><nowiki><div class="sf-table-scroll"> | ||
| Line 3,044: | Line 3,417: | ||
</div></nowiki></pre> | </div></nowiki></pre> | ||
=== Packed image gallery === | |||
<pre class="sf-codeblock"><nowiki><gallery mode="packed" heights="170" caption="Gallery Title"> | <pre class="sf-codeblock"><nowiki><gallery mode="packed" heights="170" caption="Gallery Title"> | ||
| Line 3,052: | Line 3,427: | ||
</gallery></nowiki></pre> | </gallery></nowiki></pre> | ||
=== Collapsible reference block === | |||
<pre class="sf-codeblock"><nowiki><div class="mw-collapsible mw-collapsed sf-card"> | <pre class="sf-codeblock"><nowiki><div class="mw-collapsible mw-collapsed sf-card"> | ||
| Line 3,062: | Line 3,439: | ||
</div></nowiki></pre> | </div></nowiki></pre> | ||
=== Related-page footer === | |||
<pre class="sf-codeblock"><nowiki><div class="sf-footerlinks"> | <pre class="sf-codeblock"><nowiki><div class="sf-footerlinks"> | ||
| Line 3,071: | Line 3,450: | ||
</div></nowiki></pre> | </div></nowiki></pre> | ||
=== Category block === | |||
<pre class="sf-codeblock"><nowiki>[[Category:Player Guides]] | <pre class="sf-codeblock"><nowiki>[[Category:Player Guides]] | ||
| Line 3,078: | Line 3,459: | ||
< | |||
== 21. Complete Examples <span id="manual-examples"></span> == | |||
<p>These complete page sources demonstrate how the individual components work together. Replace the sample text, links, categories, and filenames with verified information for the actual subject.</p> | <p>These complete page sources demonstrate how the individual components work together. Replace the sample text, links, categories, and filenames with verified information for the actual subject.</p> | ||
=== Complete area-guide example === | |||
<pre class="sf-codeblock"><nowiki>__NOTOC__ | <pre class="sf-codeblock"><nowiki>__NOTOC__ | ||
| Line 3,201: | Line 3,586: | ||
[[Category:Exploration]]</nowiki></pre> | [[Category:Exploration]]</nowiki></pre> | ||
=== Complete crafting-system example === | |||
<pre class="sf-codeblock"><nowiki>__NOTOC__ | <pre class="sf-codeblock"><nowiki>__NOTOC__ | ||
| Line 3,332: | Line 3,719: | ||
[[Category:Player Guides]]</nowiki></pre> | [[Category:Player Guides]]</nowiki></pre> | ||
=== Complete technical-reference example === | |||
<pre class="sf-codeblock"><nowiki>__NOTOC__ | <pre class="sf-codeblock"><nowiki>__NOTOC__ | ||
| Line 3,448: | Line 3,837: | ||
</div> | </div> | ||
== Change Log == | |||
<ul> | <ul> | ||
Latest revision as of 22:52, 10 November 2026
The complete technical and visual reference for building Sinfar Wiki pages in the unified style.
__NOTOC__, a second page-level H1, or older layout classes are not the current starter template.Current resource-page starter
<div class="sf-page sf-article-page sf-guidance-family sf-resource-page"> <div class="sf-family-path">[[Main Page]]</div> <div class="sf-hero"><div class="sf-eyebrow">Player resources</div> <div class="sf-title">Page title</div><p>What this page helps the reader do.</p></div> == Find a topic == <div class="sf-task-index">[[#Overview|Overview]] [[#Instructions|Instructions]]</div> == Overview == Explain the scope of the page. == Instructions == <div class="sf-content-panel"> === First step === Write the instructions here. </div> </div>
Page construction
Visual · Source
None required
Sinfar v3.0
How to use this manual: Keep this page open while building. Use the directory to jump directly to the feature, component, or snippet you need. Most examples are ready to copy into Source mode.
1. Introduction 2. Quick Navigation 3. Building Blocks 4. Wikitext Reference 5. HTML Reference
6. Sinfar Components 7. Images & Galleries 8. Tables 9. Icons & Symbols 10. Color Standard
11. Typography 12. Layout Standards 13. Navigation Standards 14. Templates 15. Common Page Patterns
16. Accessibility 17. Performance 18. Publishing Checklist 19. Troubleshooting 20. Copy/Paste Cookbook 21. Complete Examples
1. Introduction
This page is the canonical construction reference for new Sinfar Wiki articles. It documents the markup, HTML, visual components, colors, images, tables, layouts, and publishing standards used throughout the unified Wiki design.
Use the shared framework.
New pages should use the approved sf-* classes instead of inventing unrelated layouts or placing large amounts of custom CSS inside page source.
What this manual covers
✦ Create
Create a blank article, select an editing mode, and establish the standard Sinfar page wrapper.
⚒ Construct
Use headings, links, cards, tables, images, galleries, alerts, grids, and navigation components.
✓ Publish
Preview the page, verify links and layout, assign categories, and provide a useful edit summary.
Pages this framework supports
- Area and location guides
- Crafting and progression systems
- Leveling and gold-making guides
- Recurring events and activities
- Builder and scripting documentation
- Player resources and mechanical references
- Lore, organizations, businesses, and community pages
Source mode is required for advanced Sinfar layouts.
VisualEditor is useful for ordinary writing, links, lists, and simple media. Use Source mode when inserting complete sf-* components or repairing page structure.
The side directory provides access to every chapter. Use your browser’s page search for exact terms such as gallery, sortable, underline, hero, or quickbar.
Editing mode comparison
| Task | VisualEditor | Source Mode |
|---|---|---|
| Write ordinary paragraphs | VisualEditorRecommended | Source ModeSupported |
| Bold, italics, lists, and links | VisualEditorRecommended | Source ModeSupported |
| Insert a basic image | VisualEditorRecommended | Source ModeSupported |
| Insert a simple table | VisualEditorSupported | Source ModeRecommended for exact control |
| Use Sinfar cards and layouts | VisualEditorNot recommended | Source ModeRequired |
| Repair broken HTML or wrappers | VisualEditorNot recommended | Source ModeRequired |
| Copy complete page templates | VisualEditorNot recommended | Source ModeRequired |
3. Building Blocks
Creating the blank page
| Method | How It Works | Best Use |
|---|---|---|
| Red link | How It WorksAdd a link to a page that does not exist, then open the resulting red link. | Best UsePreferred because the new page is already connected to another article. |
| Wiki search | How It WorksSearch for the exact title and select the option to create the missing page. | Best UseUseful when the page has not yet been linked anywhere. |
| Direct address | How It WorksReplace the page name in the browser address with the intended new title. | Best UseFast, but easier to mistype. |
Red-link source
[[Making Your First Gold]]
Direct-address example
https://wiki.sinfar.net/index.php/Making_Your_First_Gold
Check the page title before writing.
A misspelled address or red link creates a separate article under the incorrect title.
The required Sinfar page wrapper
Every new or refitted article begins inside the sovereign page shell.
__NOTOC__ <div class="sf-page"> Your page content goes here. </div>
| Line | Purpose |
|---|---|
|
Hides MediaWiki’s automatic contents box when the page uses custom navigation or does not need a contents list. |
<div class="sf-page"> |
Activates the Sinfar page background, text colors, borders, link colors, spacing, and shared component rules. |
</div> |
Closes the page shell. Every opening div must have a corresponding closing tag. |
Basic page foundation
__NOTOC__ <div class="sf-page"> <div class="sf-hero sf-hero-compact"> <div class="sf-eyebrow">Player Guide</div> <h1>Making Your First Gold</h1> <p>Practical ways for a new character to begin earning money.</p> </div> <h2 class="sf-section-title">Overview</h2> <p>Write the opening information here.</p> <h2 class="sf-section-title">Getting Started</h2> <p>Write the first useful instructions here.</p> <div class="sf-footerlinks"> [[Main Page]] · [[Player Resources]] · [[Wanted Articles]] </div> </div> [[Category:Player Guides]]
4. Wikitext Reference
Wikitext is MediaWiki’s native markup language. It handles headings, emphasis, lists, links, redirects, categories, and other common page functions.
Headings
| Result | Source | Use |
|---|---|---|
| Main article section | Source== Main Section == |
UseStandard MediaWiki level-two heading. |
| Subsection | Source=== Subsection === |
UseUsed beneath a main section. |
| Sinfar section title | Source<h2 class="sf-section-title">Section</h2> |
UsePreferred for unified refit pages. |
| Sinfar subheading | Source<h3 class="sf-subheading">Subheading</h3> |
UsePreferred beneath a styled section title. |
Do not create a second page title.
The Wiki already supplies the article’s page title. Inside the Sinfar hero, the visible h1 is part of the styled page presentation.
Bold, italics, underline, and strike-through
| Result | Source |
|---|---|
| Bold text | '''Bold text''' |
| Italic text | ''Italic text'' |
| Bold italic text | '''''Bold italic text''''' |
| Underlined text | <u>Underlined text</u> |
<s>Removed or obsolete text</s> |
Underline sparingly.
Underlined words can resemble links. Use bold or a Sinfar label class for ordinary emphasis.
Font size
Small supporting text
Normal text
Moderately enlarged text
<span style="font-size:.85rem;">Small supporting text</span> <span style="font-size:1rem;">Normal text</span> <span style="font-size:1.15rem;">Moderately enlarged text</span>
Standard: Do not assign custom font families. The Wiki’s shared stylesheet controls the typeface. Use headings and established classes before manually changing text size.
Paragraphs and line breaks
| Purpose | Source |
|---|---|
| New paragraph | Leave one blank line between blocks of text. |
| Explicit line break | First line<br>Second line |
| Horizontal rule | ---- |
Bullet lists
- First item
- Second item
- Nested item beneath the second entry
* First item * Second item ** Nested item beneath the second entry
Numbered lists
- First step
- Second step
- Third step
# First step # Second step # Third step
Mixed lists
# Install the required files. # Configure the client. # Review the following: #* Recommended settings #* Chat channels #* Server rules
Superscript and subscript
| Result | Source |
|---|---|
| 102 | 10<sup>2</sup> |
| H2O | H<sub>2</sub>O |
<!-- This note appears only in Source mode. -->
Comments are useful for maintenance instructions, placeholders, warnings to future contributors, and identifying where new source should be inserted.
Displaying markup without rendering it
<nowiki>[[Player Housing]]</nowiki>
The outer nowiki tags tell MediaWiki to display the enclosed markup literally instead of processing it.
Redirects
#REDIRECT [[Player Housing]]
A redirect page contains the redirect line as its first meaningful content. Redirects are useful for alternate names, spelling variations, and likely search phrases.
Categories
[[Category:Player Guides]] [[Category:New Player Resources]]
Place categories at the bottom of page source, beneath the closing sf-page wrapper.
Table of contents controls
| Command | Effect |
|---|---|
__TOC__ |
Places MediaWiki’s contents box at that exact location. |
__NOTOC__ |
Suppresses the automatic contents box. |
__FORCETOC__ |
Forces the contents box to appear even when the page has few headings. |
5. HTML Reference
MediaWiki accepts a controlled set of HTML elements inside page source. Sinfar pages use HTML primarily for structure, reusable CSS classes, and precise visual presentation.
Not every HTML element is permitted.
Use the established elements shown in this manual. Unsupported or unsafe tags may be escaped, removed, or displayed as plain text.
Structural elements
| Element | Purpose | Example |
|---|---|---|
div |
PurposeCreates a block container and applies Sinfar classes. | Example<div class="sf-card">...</div> |
span |
PurposeApplies styling to part of a sentence. | Example<span class="sf-label">Important</span> |
p |
PurposeCreates an explicit paragraph. | Example<p>Paragraph text.</p> |
h1–h3 |
PurposeCreates headings used by Sinfar hero and section classes. | Example<h2 class="sf-section-title">Overview</h2> |
br |
PurposeCreates a line break. | ExampleFirst line<br>Second line |
hr |
PurposeCreates a horizontal rule. | Example<hr> |
Text elements
| Element | Purpose | Example |
|---|---|---|
b |
PurposeBold visual emphasis. | Example<b>Important</b> |
strong |
PurposeStrong semantic emphasis. | Example<strong>Required</strong> |
i |
PurposeItalic visual styling. | Example<i>Optional</i> |
em |
PurposeSemantic emphasis. | Example<em>Usually recommended</em> |
u |
PurposeUnderline. | Example<u>Underlined</u> |
s |
PurposeStrike-through. | Example<s>Obsolete value</s> |
small |
PurposeSupporting or secondary text. | Example<small>Optional note</small> |
sup |
PurposeSuperscript. | Example10<sup>2</sup> |
sub |
PurposeSubscript. | ExampleH<sub>2</sub>O |
List elements
<ul> <li>First bullet</li> <li>Second bullet</li> </ul> <ol> <li>First step</li> <li>Second step</li> </ol>
Definition list
- Safe Zone
- An area where ordinary PvP restrictions apply.
- Event Area
- An area temporarily used for a scheduled activity.
<dl> <dt><b>Safe Zone</b></dt> <dd>An area where ordinary PvP restrictions apply.</dd> <dt><b>Event Area</b></dt> <dd>An area temporarily used for a scheduled activity.</dd> </dl>
Quotation
A quoted passage, policy statement, or in-world excerpt may be placed inside a blockquote.
<blockquote> A quoted passage, policy statement, or in-world excerpt. </blockquote>
Code and preformatted text
<nowiki><code>SetLocalInt(oObject, "EXAMPLE", TRUE);</code> <pre> Multiline code or source example. Spacing is preserved.</nowiki>
Classes and inline style
<span class="sf-label">Approved class styling</span> <span style="color:#d8b46a;">Direct inline color</span> <div class="sf-card" style="margin-top:12px;"> Card with one local spacing adjustment. </div>
Standard: Use approved classes for repeated design. Reserve inline style attributes for isolated width, alignment, or emphasis adjustments that do not justify a new global class.
Do not use deprecated presentation tags.
Avoid tags such as <font> and <center>. Use classes, spans, and text-align instead.
6. Sinfar CSS Components
These components are defined globally by MediaWiki:Common.css. Copy the component source and replace only its example content.
Page shell
<div class="sf-page"> Page content. </div>
Compact hero
Locations, dangers, and reasons to explore the western reaches.
<div class="sf-hero sf-hero-compact"> <div class="sf-eyebrow">Area Guide</div> <h1>The Western Frontier</h1> <p>Locations, dangers, and reasons to explore the western reaches.</p> </div>
Section title
<h2 class="sf-section-title">Exploration Routes</h2>
Subheading
<h3 class="sf-subheading">Northern Road</h3>
Single card
A central social and trading area frequently used for gatherings and public events.
<div class="sf-card"> <h3>Market Square</h3> <p>A central social and trading area frequently used for gatherings and public events.</p> </div>
Two-column card grid
Scenic areas, hidden routes, and places worth visiting.
Dungeons, quests, encounters, and dangerous locations.
<div class="sf-grid-2">
<div class="sf-card">
<h3>Exploration</h3>
<p>Scenic areas, hidden routes, and places worth visiting.</p>
</div>
<div class="sf-card">
<h3>Adventure</h3>
<p>Dungeons, quests, encounters, and dangerous locations.</p>
</div>
</div>
Three-column card grid
<div class="sf-grid-3">
<div class="sf-card">
<h3>First Card</h3>
<p>First card content.</p>
</div>
<div class="sf-card">
<h3>Second Card</h3>
<p>Second card content.</p>
</div>
<div class="sf-card">
<h3>Third Card</h3>
<p>Third card content.</p>
</div>
</div>
Four-value status bar
Western Frontier
Moderate
Exploration
Active
<div class="sf-start-status"> <div><b>Region</b><br><span>Western Frontier</span></div> <div><b>Difficulty</b><br><span>Moderate</span></div> <div><b>Best For</b><br><span>Exploration</span></div> <div><b>Status</b><br><span>Active</span></div> </div>
Quickbar
<div class="sf-quickbar"> <div><b>Getting There</b><br>Travel west from the central crossroads.</div> <div><b>Recommended</b><br>Bring healing supplies and a companion.</div> <div><b>Points of Interest</b><br>Ruins, camps, and a hidden overlook.</div> <div><b>Related Guide</b><br>[[Starter Exploration Areas]]</div> </div>
Neutral note
Note: This area changes during some scheduled events.
<div class="sf-note"> <b>Note:</b> This area changes during some scheduled events. </div>
Information alert
Useful information
This route connects directly to the eastern travel network.
<div class="sf-alert sf-alert-info"> <b>Useful information</b> <span>This route connects directly to the eastern travel network.</span> </div>
Warning alert
Warning
The northern path contains traps and hostile patrols.
<div class="sf-alert sf-alert-warning"> <b>Warning</b> <span>The northern path contains traps and hostile patrols.</span> </div>
Danger alert
High-risk area
Fresh characters should not enter without experienced support.
<div class="sf-alert sf-alert-danger"> <b>High-risk area</b> <span>Fresh characters should not enter without experienced support.</span> </div>
Progress line
<div class="sf-progress-line"> <div><b>1</b><span>Prepare</span></div> <div><b>2</b><span>Travel</span></div> <div><b>3</b><span>Explore</span></div> <div><b>4</b><span>Complete</span></div> <div><b>5</b><span>Return</span></div> </div>
Action-link list
<ul class="sf-action-list"> <li>[[Getting Started|Begin setup]]</li> <li>[[Recommended Settings|Configure your client]]</li> <li>[[Chat Channels|Review communication channels]]</li> </ul>
Code block
<pre class="sf-codeblock"><nowiki> Place code or literal Wiki source here.</nowiki>
<div class="sf-footerlinks"> [[Main Page]] · [[Player Resources]] · [[Wanted Articles]] </div>
Badges
Recommended Area Level 5–10 Support
<span class="sf-badge sf-badge-best">Recommended</span> <span class="sf-badge sf-badge-area">Area</span> <span class="sf-badge sf-badge-range">Level 5–10</span> <span class="sf-badge sf-badge-support">Support</span>
7. Images & Galleries
Before inserting an image
- Upload the file through the Wiki’s upload interface.
- Use a descriptive filename rather than a camera number or random export name.
- Confirm the filename and extension exactly.
- Optimize the image before uploading.
- Add useful alternative text when the image contains meaningful information.
Recommended filename pattern
Sinfar_Area_Western_Frontier_Overview.jpg Sinfar_System_Cooking_Workstation.png Sinfar_Event_Market_Fair_2026.jpg
Basic image
[[File:Example.jpg]]
Sized image
[[File:Example.jpg|600px]]
Centered image
[[File:Example.jpg|center|900px]]
Thumbnail with caption
[[File:Example.jpg|thumb|right|320px|A view of the western ruins.]]
Frameless image
[[File:Example.jpg|frameless|600px]]
Alternative text
[[File:Example.jpg |thumb |right |320px |alt=Stone ruins surrounded by a dense pine forest. |The western ruins. ]]
Image linked to a Wiki page
[[File:Example.jpg|500px|link=Player Housing|alt=An example player house.]]
Image with no link
[[File:Example.jpg|500px|link=|alt=A scenic view of Sinfar.]]
Sinfar screenshot frame
<div class="sf-img-frame"> [[File:Example.jpg|center|1000px|alt=A view of the area entrance.]] </div>
Image sizing: Request a display width close to the size actually used on the page. Do not upload a massive source and then force the browser to display the original at a tiny size.
Basic gallery
<gallery> File:Area_Entrance.jpg|Area entrance File:Area_Market.jpg|Market district File:Area_Ruins.jpg|Ancient ruins File:Area_Overlook.jpg|Scenic overlook </gallery>
Packed responsive gallery
<gallery mode="packed" heights="170"> File:Area_Entrance.jpg|Area entrance|alt=Stone gate leading into the area. File:Area_Market.jpg|Market district|alt=Open market surrounded by timber buildings. File:Area_Ruins.jpg|Ancient ruins|alt=Overgrown stone ruins in the forest. File:Area_Overlook.jpg|Scenic overlook|alt=Clifftop view across the island. </gallery>
Gallery options
| Option | Purpose |
|---|---|
mode="packed" |
Fits images into responsive rows with reduced empty space. |
heights="170" |
Sets the approximate image height within the gallery. |
widths="220" |
Sets the approximate image width in standard gallery mode. |
caption="Area Gallery" |
Adds a title above the complete gallery. |
alt=... |
Provides alternative text for an individual image. |
Gallery with title
<gallery mode="packed" heights="170" caption="Western Frontier"> File:Area_Entrance.jpg|Area entrance File:Area_Market.jpg|Market district File:Area_Ruins.jpg|Ancient ruins </gallery>
Do not use images as decoration alone.
Images should identify a location, explain a system, show an interface, preserve an event, or help the reader understand the subject.
8. Tables
Sinfar pages use the HTML table structure with the shared sf-table class as the preferred standard. It is easier to read, maintain, and combine with the unified stylesheet.
Standard Sinfar table
| Area | Suggested Level | Notes |
|---|---|---|
| Old Forest Road | Suggested Level3–6 | NotesGood introductory exploration route. |
| Western Ruins | Suggested Level6–10 | NotesContains traps and stronger encounters. |
<table class="sf-table"> <tr> <th scope="col">Area</th> <th scope="col">Suggested Level</th> <th scope="col">Notes</th> </tr> <tr> <td>Old Forest Road</td> <td>3–6</td> <td>Good introductory exploration route.</td> </tr> <tr> <td>Western Ruins</td> <td>6–10</td> <td>Contains traps and stronger encounters.</td> </tr> </table>
Sortable table
<table class="sf-table sortable"> <tr> <th scope="col">Event</th> <th scope="col">Location</th> <th scope="col">Frequency</th> </tr> <tr> <td>Market Fair</td> <td>Central Market</td> <td>Monthly</td> </tr> <tr> <td>Arena Night</td> <td>War Games Arena</td> <td>Variable</td> </tr> </table>
Column widths
<table class="sf-table"> <tr> <th scope="col" style="width:25%;">System</th> <th scope="col" style="width:20%;">Difficulty</th> <th scope="col" style="width:55%;">Description</th> </tr> <tr> <td>Cooking</td> <td>Beginner</td> <td>Prepare food using gathered ingredients and recipe knowledge.</td> </tr> </table>
Wide table with horizontal scrolling
<div class="sf-table-scroll"> <table class="sf-table"> <tr> <th scope="col">Name</th> <th scope="col">Region</th> <th scope="col">Level</th> <th scope="col">Type</th> <th scope="col">Rewards</th> <th scope="col">Notes</th> </tr> <tr> <td>Example</td> <td>Example</td> <td>Example</td> <td>Example</td> <td>Example</td> <td>Example</td> </tr> </table> </div>
Merged columns
<table class="sf-table"> <tr> <th scope="col" colspan="3">Event Schedule</th> </tr> <tr> <th scope="col">Event</th> <th scope="col">Host</th> <th scope="col">Location</th> </tr> <tr> <td>Market Fair</td> <td>Community Team</td> <td>Central Market</td> </tr> </table>
Merged rows
<table class="sf-table"> <tr> <th scope="col">Region</th> <th scope="col">Area</th> <th scope="col">Level</th> </tr> <tr> <td rowspan="2">Western Frontier</td> <td>Forest Road</td> <td>3–6</td> </tr> <tr> <td>Ancient Ruins</td> <td>6–10</td> </tr> </table>
Row header
<table class="sf-table"> <tr> <th scope="col">Attribute</th> <th scope="col">Value</th> </tr> <tr> <th scope="row">Recommended Level</th> <td>5–10</td> </tr> <tr> <th scope="row">Party Size</th> <td>1–4</td> </tr> </table>
Centered values
<table class="sf-table"> <tr> <th scope="col">Recipe</th> <th scope="col" style="text-align:center;">Rank</th> <th scope="col" style="text-align:center;">Time</th> </tr> <tr> <td>Roasted Fish</td> <td style="text-align:center;">1</td> <td style="text-align:center;">20 seconds</td> </tr> </table>
Native wikitext table
{| class="sf-table"
! scope="col" | Area
! scope="col" | Level
! scope="col" | Notes
|-
| Forest Road
| 3–6
| Introductory route
|-
| Ancient Ruins
| 6–10
| Traps and stronger enemies
|}
Preferred method: Use the HTML table format for new Sinfar pages. Use native wikitext tables when modifying a page that already uses that syntax consistently.
Tables are for structured comparisons.
Do not use tables merely to force ordinary paragraphs into columns. Use grids and cards for page layout.
9. Icons & Symbols
Small Unicode symbols may be placed directly before headings or labels. They require no image upload and inherit the heading’s existing color.
Inline heading example
Guides and references for player-facing professions and production systems.
<h3>⚒ Crafting Systems</h3>
Recommended Sinfar symbols
| Meaning | Symbol | Example |
|---|---|---|
| Create or begin | Symbol✦ | Example<h3>✦ Create a Page</h3> |
| Edit or revise | Symbol✎ | Example<h3>✎ Editing</h3> |
| Writing or authorship | Symbol✒ | Example<h3>✒ Author’s Notes</h3> |
| High priority | Symbol★ | Example<h3>★ Wanted Article</h3> |
| Reference | Symbol◆ | Example<h3>◆ Quick Reference</h3> |
| Featured guide | Symbol◈ | Example<h3>◈ Featured Guide</h3> |
| Continue or proceed | Symbol➜ | Example<h3>➜ Continue</h3> |
| Completed or correct | Symbol✓ | Example<h3>✓ Verified</h3> |
| Warning | Symbol⚠ | Example<h3>⚠ Warning</h3> |
| Combat | Symbol⚔ | Example<h3>⚔ Combat</h3> |
| Building or crafting | Symbol⚒ | Example<h3>⚒ Crafting</h3> |
| System or mechanics | Symbol⚙ | Example<h3>⚙ Mechanics</h3> |
| Rules or legal text | Symbol§ | Example<h3>§ Rules</h3> |
| Community | Symbol◎ | Example<h3>◎ Community</h3> |
| Location or target | Symbol⌖ | Example<h3>⌖ Location</h3> |
Additional neutral symbols
• ‣ ▪ ▫ ◆ ◇ ◈ ○ ● ◦ ★ ☆ ✦ ✧ ❖ ✤ ✥ ✣ → ➜ ➤ ➥ ↗ ↘ ↑ ↓ ✓ ✔ ✕ ✖ ✗ ✎ ✏ ✒ ⚔ ⚒ ⚙ ⚖ § ⌂ ⌖ ⌕
Avoid colorful emoji as structural icons.
Emoji appearance varies significantly between operating systems. Prefer monochrome Unicode symbols that behave like ordinary text.
Standard: Use one symbol per heading. Do not place every heading inside an icon badge or create decorative icon rows without a functional reason.
10. Color Standard
The unified palette is controlled through Common.css. Use established classes whenever possible. Direct color values should be reserved for isolated emphasis, verified channel colors, or documented special cases.
Core palette
| Role | Color | Value | Use |
|---|---|---|---|
| Page shell | ColorDark blue-black | Value#11161d |
UseMain article shell |
| Panel | ColorDark brown-black | Value#181214 |
UseCards, tables, notes, and utility panels |
| Body text | ColorOff-white | Value#f4efe6 |
UseNormal readable text |
| Muted text | ColorMuted parchment | Value#c9bda9 |
UseSecondary information |
| Gold | ColorSinfar gold | Value#d8b46a |
UseEyebrows, labels, borders, and accents |
| Bright gold | ColorBright gold | Value#f0d28a |
UseHeadings and important labels |
| Link blue | ColorLink blue | Value#8fc6ff |
UseInternal and external links |
| Hover blue | ColorLight blue | Value#b8d6ff |
UseHovered links |
| Danger red | ColorMuted red | Value#9f4b3e |
UseDanger and high-priority warnings |
| Success green | ColorMuted green | Value#2f5d3a |
UsePositive states and success badges |
| Information blue | ColorMuted blue | Value#334e7a |
UseInformation states |
| Category purple | ColorMuted purple | Value#60456f |
UseCategory and area badges |
Approved text classes
Gold label text
Muted supporting text
Highlighted value
Positive value
<span class="sf-label">Gold label text</span> <span class="sf-muted">Muted supporting text</span> <span class="sf-value">Highlighted value</span> <span class="sf-good">Positive value</span>
Direct inline color
<span style="color:#d8b46a;">Gold emphasis</span> <span style="color:#f0d28a;">Bright gold emphasis</span> <span style="color:#8fc6ff;">Blue reference text</span> <span style="color:#9fe6bd;">Positive result</span> <span style="color:#ff9c8f;">Danger result</span>
Colored legacy cards
<div class="sf-card sf-card--green"> <h3>Green Card</h3> <p>Use only when color communicates a meaningful category.</p> </div> <div class="sf-card sf-card--blue"> <h3>Blue Card</h3> <p>Use only when color communicates a meaningful category.</p> </div> <div class="sf-card sf-card--red"> <h3>Red Card</h3> <p>Use for danger or a clearly established red category.</p> </div> <div class="sf-card sf-card--purple"> <h3>Purple Card</h3> <p>Use only when color communicates a meaningful category.</p> </div>
Do not create a new color system on individual pages.
The shared palette exists so pages remain visually related. New colors should be added to Common.css only when they represent a reusable, approved meaning.
Body-text standard: Use #f4efe6 for readable text inside dark panels. Use gold for headings, labels, and controlled emphasis—not for entire paragraphs.
11. Typography
Typography establishes the information hierarchy of a page. Contributors should use the established Sinfar heading classes, body text, labels, links, and supporting-text styles rather than creating new font systems on individual pages.
Standard hierarchy
| Element | Source | Use |
|---|---|---|
| Page title | Source<h1>Page Title</h1> |
UseUsed once inside the page hero. |
| Main section | Source<h2 class="sf-section-title">Section</h2> |
UseBegins a major page chapter. |
| Subsection | Source<h3 class="sf-subheading">Subsection</h3> |
UseDivides a major chapter into smaller subjects. |
| Card heading | Source<h3>Card Title</h3> |
UseNames the subject contained inside a card. |
| Body paragraph | Source<p>Body text.</p> |
UseNormal explanatory information. |
| Supporting text | Source<span class="sf-muted">Supporting text</span> |
UseSecondary details that should remain readable but visually quieter. |
| Label | Source<span class="sf-label">Label</span> |
UseShort gold labels, metadata names, and category indicators. |
Heading example
A complete reference for the region, its routes, and its important locations.
The northern road provides access to the oldest ruins in the region.
<div class="sf-hero sf-hero-compact"> <div class="sf-eyebrow">Area Guide</div> <h1>The Western Frontier</h1> <p>A complete reference for the region, its routes, and its important locations.</p> </div> <h2 class="sf-section-title">Points of Interest</h2> <h3 class="sf-subheading">The Northern Road</h3> <p>The northern road provides access to the oldest ruins in the region.</p>
Readable paragraph standard
- Keep paragraphs focused on one subject.
- Break long explanations into subsections or lists.
- Use bold for important words, not entire paragraphs.
- Use italics for titles, terms, or limited emphasis.
- Use underlining only when there is a specific reason.
- Avoid writing important instructions entirely in uppercase.
Text alignment
| Alignment | Source | Recommended Use |
|---|---|---|
| Left | Source<div style="text-align:left;">Text</div> |
Recommended UseDefault for paragraphs, lists, and most table cells. |
| Center | Source<div style="text-align:center;">Text</div> |
Recommended UseShort labels, image captions, statistics, and selected visual elements. |
| Right | Source<div style="text-align:right;">Text</div> |
Recommended UseRarely needed; may be useful for compact numerical presentation. |
Do not center entire articles.
Centered paragraphs are harder to scan and should be reserved for short visual statements, labels, and selected page elements.
Font-size reference
| Purpose | Source |
|---|---|
| Small supporting note | <span style="font-size:.85rem;">Supporting note</span> |
| Normal body text | <span style="font-size:1rem;">Normal text</span> |
| Moderate emphasis | <span style="font-size:1.15rem;">Emphasized text</span> |
Typography standard: Use the established heading hierarchy before changing font size manually. Consistent heading levels improve navigation, accessibility, and page maintenance.
12. Layout Standards
Sinfar pages use several recurring layout families. Select the family that matches the article’s purpose rather than forcing every subject into the same structure.
Compact utility page
The compact utility layout is the default for informational pages, system references, troubleshooting, rules, commands, scripts, and technical documentation.
__NOTOC__ <div class="sf-page"> <div class="sf-hero sf-hero-compact"> <div class="sf-eyebrow">Player Resource</div> <h1>Page Title</h1> <p>A direct explanation of the page’s purpose.</p> </div> <div class="sf-note"> <b>At a glance:</b> Essential information or an important limitation. </div> <h2 class="sf-section-title">Overview</h2> <p>Opening information.</p> <h2 class="sf-section-title">Reference</h2> <table class="sf-table"> <tr> <th scope="col">Subject</th> <th scope="col">Information</th> </tr> <tr> <td>Example</td> <td>Example information.</td> </tr> </table> <div class="sf-footerlinks"> [[Related Page]] · [[Main Page]] </div> </div>
Guide page
Use the guide layout for leveling routes, crafting instructions, housing setup, event participation, travel, and other action-oriented subjects.
__NOTOC__ <div class="sf-page"> <div class="sf-hero sf-hero-compact"> <div class="sf-eyebrow">Player Guide</div> <h1>Guide Title</h1> <p>What the reader will learn or accomplish.</p> </div> <div class="sf-start-status"> <div><b>Difficulty</b><br><span>Beginner</span></div> <div><b>Recommended Level</b><br><span>1–10</span></div> <div><b>Party Size</b><br><span>Solo or group</span></div> <div><b>Primary Goal</b><br><span>Guide outcome</span></div> </div> <h2 class="sf-section-title">Before You Begin</h2> <ul> <li>Requirement one</li> <li>Requirement two</li> </ul> <h2 class="sf-section-title">Getting Started</h2> <p>First instructions.</p> <h2 class="sf-section-title">Recommended Approach</h2> <p>Main guidance.</p> <h2 class="sf-section-title">Related Pages</h2> <div class="sf-footerlinks"> [[Related Page One]] · [[Related Page Two]] </div> </div>
Area or location page
Area pages should quickly explain what the location is, where it connects, why players may visit, and what risks or activities exist there.
__NOTOC__
<div class="sf-page">
<div class="sf-hero sf-hero-compact">
<div class="sf-eyebrow">Area Guide</div>
<h1>Area Name</h1>
<p>A short description of the area and its identity.</p>
</div>
<div class="sf-start-status">
<div><b>Region</b><br><span>Region name</span></div>
<div><b>Recommended Level</b><br><span>Level range</span></div>
<div><b>Area Type</b><br><span>Exploration</span></div>
<div><b>Primary Access</b><br><span>Connecting area</span></div>
</div>
<div class="sf-img-frame">
[[File:Area_Overview.jpg|center|1000px|alt=Overview of the area.]]
</div>
<h2 class="sf-section-title">Overview</h2>
<p>Explain the location and why it matters.</p>
<h2 class="sf-section-title">How to Reach It</h2>
<p>Provide useful directions and connecting areas.</p>
<h2 class="sf-section-title">Points of Interest</h2>
<div class="sf-grid-3">
<div class="sf-card">
<h3>First Location</h3>
<p>Description.</p>
</div>
<div class="sf-card">
<h3>Second Location</h3>
<p>Description.</p>
</div>
<div class="sf-card">
<h3>Third Location</h3>
<p>Description.</p>
</div>
</div>
<h2 class="sf-section-title">Gallery</h2>
<gallery mode="packed" heights="170">
File:Area_First.jpg|First location
File:Area_Second.jpg|Second location
File:Area_Third.jpg|Third location
</gallery>
<div class="sf-footerlinks">
[[Exploration]] · [[Area Directory]] · [[Main Page]]
</div>
</div>
System documentation page
Use this layout for crafting systems, server mechanics, custom features, commands, and builder-facing technical documentation.
__NOTOC__ <div class="sf-page"> <div class="sf-hero sf-hero-compact"> <div class="sf-eyebrow">System Documentation</div> <h1>System Name</h1> <p>What the system does and who uses it.</p> </div> <div class="sf-note"> <b>Scope:</b> State what this page documents and any important version limitation. </div> <h2 class="sf-section-title">System Overview</h2> <p>Explain the purpose and basic operation.</p> <h2 class="sf-section-title">Requirements</h2> <table class="sf-table"> <tr> <th scope="col">Requirement</th> <th scope="col">Details</th> </tr> <tr> <td>Example</td> <td>Requirement details.</td> </tr> </table> <h2 class="sf-section-title">Operation</h2> <p>Explain the system in a logical order.</p> <h2 class="sf-section-title">Reference</h2> <table class="sf-table"> <tr> <th scope="col">Function</th> <th scope="col">Result</th> </tr> <tr> <td>Example function</td> <td>Example result.</td> </tr> </table> <h2 class="sf-section-title">Troubleshooting</h2> <div class="sf-alert sf-alert-warning"> <b>Common issue</b> <span>Explain the cause and correction.</span> </div> <div class="sf-footerlinks"> [[Builder Resources]] · [[Related System]] </div> </div>
Landing or hub page
Landing pages organize major resource categories. They may use more visual presentation than ordinary utility pages, but should still remain clear and navigable.
__NOTOC__
<div class="sf-page">
<div class="sf-hero">
<div class="sf-eyebrow">Resource Hub</div>
<h1>Player Resources</h1>
<p>Guides, references, systems, and tools for playing on Sinfar.</p>
</div>
<div class="sf-grid-3">
<div class="sf-card">
<h3>Getting Started</h3>
<p>Installation, setup, and first steps.</p>
<p class="sf-action-links">[[Getting Started|Open resources]]</p>
</div>
<div class="sf-card">
<h3>Character Progression</h3>
<p>Leveling, equipment, and mechanical guidance.</p>
<p class="sf-action-links">[[Character Progression|Open resources]]</p>
</div>
<div class="sf-card">
<h3>Exploration</h3>
<p>Locations, routes, dungeons, and discoveries.</p>
<p class="sf-action-links">[[Exploration|Open resources]]</p>
</div>
</div>
</div>
Layout selection table
| Page Subject | Recommended Layout |
|---|---|
| Chat commands, settings, rules, scripts | Compact utility page |
| Leveling, gold-making, travel, crafting instructions | Guide page |
| Builder-created regions, towns, dungeons, scenic locations | Area or location page |
| Custom mechanics, crafting systems, commands, technical features | System documentation page |
| Major category navigation | Landing or hub page |
Avoid decorative overbuilding.
Ordinary resource pages should prioritize usable information. Reserve large cinematic presentation for the Main Page and selected major landing pages.
Every page should connect readers to the next useful destination. Navigation should be intentional, descriptive, and limited to genuinely related resources.
Internal links
[[Player Housing]] [[Player Housing|housing guide]] [[Player Housing#Buying a Property|buying a property]]
<div class="sf-footerlinks"> [[Getting Started]] · [[Player Resources]] · [[Main Page]] </div>
<div class="sf-grid-3">
<div class="sf-card">
<h3>Getting Started</h3>
<p>Installation, settings, and first steps.</p>
<p class="sf-action-links">
[[Getting Started|Open the guide]]
</p>
</div>
<div class="sf-card">
<h3>Player Housing</h3>
<p>Property ownership, building, and customization.</p>
<p class="sf-action-links">
[[Player Housing|Open the guide]]
</p>
</div>
<div class="sf-card">
<h3>Exploration</h3>
<p>Areas, routes, dungeons, and scenic locations.</p>
<p class="sf-action-links">
[[Exploration|Open the directory]]
</p>
</div>
</div>
Action list
<ul class="sf-action-list"> <li>[[Getting Started|Install and configure the game]]</li> <li>[[Recommended Settings|Apply recommended settings]]</li> <li>[[Chat Channels|Learn the communication channels]]</li> </ul>
Page-directory links
[[#Overview|Overview]] [[#Requirements|Requirements]] [[#Troubleshooting|Troubleshooting]]
Redirects for alternate names
#REDIRECT [[Canonical Page Title]]
Related-page standards
- Link the canonical page rather than reproducing the same instructions.
- Use descriptive link text when the page title does not fit naturally into the sentence.
- Do not create a footer containing every remotely related article.
- Test section links after publishing because heading changes can break them.
- Intentional red links may be used to identify planned pages.
- Remove accidental red links caused by spelling or capitalization mistakes.
[[Category:Player Guides]] [[Category:Builder Resources]] [[Category:Area Guides]]
Navigation standard: A page should normally end with related links, one or more verified categories, or both. Readers should not reach the bottom and have nowhere useful to continue.
14. Templates
MediaWiki templates allow repeated content to be stored once and inserted into many pages. Use templates for information that must remain consistent across multiple articles.
Basic template use
{{Template Name}}
Template with named parameters
{{Area Summary
|name=Western Frontier
|region=Western Isles
|level=5–10
|type=Exploration
}}
Template with numbered parameters
{{Example Template|First value|Second value}}
Displaying a default parameter value
{{{name|Unnamed location}}}
Basic template source
<div class="sf-card">
<h3>{{{name|Unnamed location}}}</h3>
<p><span class="sf-label">Region:</span> {{{region|Unknown}}}</p>
<p><span class="sf-label">Suggested Level:</span> {{{level|Not specified}}}</p>
<p><span class="sf-label">Type:</span> {{{type|General}}}</p>
</div>
Template documentation pattern
<nowiki><noinclude>
== Usage ==
<pre>
{{Area Summary
|name=
|region=
|level=
|type=
}}
Parameters
| Parameter | Required | Description |
|---|---|---|
| name | Yes | Displayed area name |
| region | No | Larger region containing the area |
| level | No | Suggested level range |
| type | No | Area category or activity type |
Template-control tags
| Tag | Purpose |
|---|---|
<noinclude> |
Content shown on the template page but not inserted into articles. |
<includeonly> |
Content inserted into articles but normally hidden from the template page itself. |
<onlyinclude> |
Limits transclusion to the content placed inside the tag. |
When to create a template
✓ Good Template Uses
- Repeated information boxes
- Standard notices
- Navigation shared across many pages
- Repeated tables with consistent fields
- Content that must be updated globally
✗ Poor Template Uses
- Content appearing on only one page
- Large unique page layouts
- Temporary text
- Simple formatting already handled by CSS classes
- Avoiding ordinary writing
Do not create undocumented templates.
Every reusable template should explain its purpose, parameters, expected values, and a copyable usage example.
Framework rule: CSS classes control visual design. Templates control reusable content and repeated structures. Do not use templates merely as substitutes for documented sf-* snippets.
15. Common Page Patterns
The following patterns provide recommended information structures for common Sinfar subjects. They are not rigid forms; remove irrelevant fields and add sections only when the subject requires them.
Area guide pattern
| Section | Information to Include |
|---|---|
| Hero | Area name, category, and short identity statement |
| Status bar | Region, level range, area type, primary access |
| Overview | What the area is and why players may visit |
| How to Reach It | Connecting areas and useful travel directions |
| Points of Interest | Important buildings, encounters, vistas, NPCs, and systems |
| Dangers | Level concerns, PvP status, traps, encounters, and restrictions |
| Gallery | Useful identifying images |
Crafting-system pattern
| Section | Information to Include |
|---|---|
| Overview | Purpose of the system and what it produces |
| How to Begin | Required placeables, tools, skills, items, or locations |
| Materials | Inputs and where they are obtained |
| Process | How the player uses the system |
| Progression | Ranks, experience, unlocks, or increasing difficulty |
| Outputs | Products, qualities, rewards, and uses |
| Troubleshooting | Common mistakes and failure states |
Event page pattern
| Section | Information to Include |
|---|---|
| Event Summary | What happens and who may participate |
| Schedule | Date, frequency, duration, or scheduling method |
| Location | Where the event occurs and how to reach it |
| Requirements | Levels, equipment, registration, team size, or character restrictions |
| Rules | Event-specific rules and prohibited behavior |
| Rewards | Prizes, recognition, or participation benefits |
| Gallery or History | Past events, winners, screenshots, or notable moments |
Leveling-guide pattern
| Section | Information to Include |
|---|---|
| Recommended Range | Character levels and expected equipment |
| Preparation | Supplies, resistances, party composition, and travel needs |
| Route | Areas or activities in practical order |
| Risks | Enemy types, traps, PvP exposure, and difficulty spikes |
| Alternatives | Other routes for different builds or groups |
| Next Step | Where the player should continue afterward |
Script documentation pattern
| Section | Information to Include |
|---|---|
| Purpose | What the script does |
| Event | Where the script is attached or fired |
| Required Setup | Variables, tags, resrefs, includes, objects, or module systems |
| Source | Complete copyable code |
| Configuration | Values builders are expected to change |
| Behavior | What happens during execution |
| Troubleshooting | Compile errors, event problems, and common setup mistakes |
Lore or organization pattern
| Section | Information to Include |
|---|---|
| Summary | Identity and role in the setting |
| History | Relevant development over time |
| Location | Associated regions, buildings, or territories |
| Structure | Leadership, ranks, membership, or organization |
| Activities | What the group does in practice |
| Player Interaction | How characters may encounter, join, oppose, or work with it |
Pattern rule: Use these structures to prevent important practical information from being omitted. They are reference outlines, not mandatory questionnaires.
16. Accessibility
Accessible pages are easier to read, navigate, search, and maintain. Accessibility also improves the experience for readers using mobile devices, screen readers, zoomed interfaces, or reduced-vision settings.
Heading order
<h1>Page Title</h1> <h2 class="sf-section-title">Main Section</h2> <h3 class="sf-subheading">Subsection</h3> <h3 class="sf-subheading">Another Subsection</h3> <h2 class="sf-section-title">Next Main Section</h2>
Do not skip heading levels for appearance.
Do not jump from an h2 directly to an h4 merely because the smaller size looks desirable.
Alternative text
[[File:Western_Frontier.jpg |thumb |right |320px |alt=Stone road passing through pine forest toward distant ruins. |The road leading into the Western Frontier. ]]
Writing useful alternative text
| Poor | Better |
|---|---|
| Screenshot | Stone road leading through a pine forest toward ruined towers. |
| Cooking image | Player using a campfire cooker with ingredients placed in its inventory. |
| Map | Map showing the route from the central crossroads to the western ruins. |
Decorative images
An image that communicates no useful information may use an empty alternative description:
[[File:Decorative_Divider.png|600px|link=|alt=]]
Table headers
<table class="sf-table"> <tr> <th scope="col">Area</th> <th scope="col">Level</th> <th scope="col">Notes</th> </tr> <tr> <th scope="row">Forest Road</th> <td>3–6</td> <td>Introductory route</td> </tr> </table>
Color and meaning
Do not rely on color alone to communicate a status.
✓ Recommended ⚠ Restricted
<span class="sf-badge sf-badge-best">✓ Recommended</span> <span class="sf-badge">⚠ Restricted</span>
Link wording
| Avoid | Use |
|---|---|
[[Player Housing|Click here]] |
Read the [[Player Housing|Player Housing guide]]. |
[[Getting Started|This page]] |
Follow the [[Getting Started|installation guide]]. |
Readable structure
- Use descriptive headings.
- Keep navigation links meaningful outside their surrounding sentence.
- Use sufficient text contrast.
- Avoid communicating essential information through images alone.
- Do not create extremely wide tables without a scrolling wrapper.
- Do not place large amounts of text in tiny font sizes.
- Check the page at narrow browser widths.
Accessibility standard: The page should remain understandable when images fail to load, colors are difficult to distinguish, or the reader navigates primarily through headings and links.
17. Performance
Efficient pages load faster, remain easier to edit, and reduce the likelihood of rendering problems. Most performance issues come from oversized images, duplicated inline styling, excessive markup, and unnecessarily complex layouts.
Image performance
- Resize screenshots before uploading when full original resolution is unnecessary.
- Use JPEG or WebP for ordinary scenic screenshots where transparency is not required.
- Use PNG for icons, transparent assets, diagrams, and images requiring lossless detail.
- Avoid placing many full-resolution images directly on one page.
- Use galleries for groups of related screenshots.
- Do not upload the same image repeatedly under different filenames.
Source performance
| Avoid | Preferred |
|---|---|
| Repeated large inline style blocks | Shared classes defined in Common.css |
| Tables used for ordinary page layout | sf-grid-2, sf-grid-3, and cards |
| Deeply nested containers | Simple, direct component structures |
| Duplicated instructions across many pages | One canonical page with internal links |
| Large decorative animations | Static, purposeful imagery |
| One-off custom color systems | The shared Sinfar palette |
Component reuse
<div class="sf-alert sf-alert-warning"> <b>Warning</b> <span>Reusable alert using the shared stylesheet.</span> </div>
This is preferable to repeatedly defining backgrounds, borders, spacing, and typography through inline styles.
Collapsible sections
Collapsible sections are useful when a page contains large reference blocks that many readers will not need immediately.
<div class="mw-collapsible mw-collapsed sf-card">
<h3>Advanced Reference</h3>
<div class="mw-collapsible-content">
<p>Long or advanced information.</p>
</div>
</div>
Do not hide essential information.
Requirements, warnings, and primary instructions should remain visible. Collapse extended examples, optional details, or advanced reference material.
Page-size management
- Keep one canonical article per subject.
- Split a page only when it has become difficult to navigate or maintain.
- Do not fragment closely related information merely to shorten the source.
- Use a side directory, section navigation, or collapsible references before creating many small dependency pages.
- Move reusable repeated structures into templates only when repetition actually exists.
Performance standard: Build the simplest structure that presents the information clearly. Complexity should solve a real display or maintenance problem.
18. Publishing Checklist
Use this checklist before publishing a new article or completing a major refit.
✓ Structure
- Page is wrapped in
sf-page - Hero contains the correct title
- Heading levels are ordered correctly
- All opening HTML tags are closed
- Sections follow a logical order
✓ Content
- Information is current
- Technical names are exact
- Instructions are complete
- Examples are clearly identified
- Duplicate information is linked instead
- Internal links were opened
- External links were opened
- Red links are intentional
- Footer navigation is useful
- Categories were verified
✓ Images
- Filenames are correct
- Images are appropriately sized
- Alternative text is useful
- Captions explain relevant images
- Gallery images are related
✓ Tables
- Headers identify every column
- Column widths are practical
- Wide tables can scroll
- Cells align consistently
- Tables are not used as page layout
✓ Presentation
- Shared classes are used
- Body text remains readable
- Color is used consistently
- Mobile or narrow layout was checked
- No unnecessary dead space remains
Preview process
- Select Show preview.
- Read the page from the beginning rather than inspecting only the edited section.
- Check tables, cards, images, links, and section spacing.
- Select Show changes and confirm only the intended source was added or removed.
- Write a specific edit summary.
- Publish the page.
- Open the live article and perform one final review.
Edit-summary examples
| Weak | Useful |
|---|---|
| Update | Added area access directions and points-of-interest table. |
| Fix | Corrected broken image filenames and repaired gallery captions. |
| Page creation | Created initial guide for the Western Frontier area. |
| Changed stuff | Reorganized crafting requirements and added progression details. |
Change-log standard
Where a maintained page includes a visible change log, record meaningful content or structural revisions rather than every spelling correction.
<h2 class="sf-section-title">Change Log</h2> <ul> <li>Created the initial page structure and area overview.</li> <li>Added travel directions, points of interest, and image gallery.</li> <li>Reorganized encounter information into a reference table.</li> </ul>
Ready to publish:
The page should render correctly, answer its intended subject, use the shared visual system, and direct readers toward the next useful resource.
19. Troubleshooting
The page stops rendering halfway through
| Likely Cause | Correction |
|---|---|
Unclosed <nowiki> or <pre> |
Search the source above the failure point and confirm both tags are closed. |
| Malformed nested example | Display nested tags using HTML entities such as < and >. |
| Editor paste limit | Paste the source in smaller, clearly ordered sections. |
| Large block omitted during copying | Search for the next section heading and compare against the original source. |
A card or grid extends beyond the page
- Confirm the component is inside the
sf-pagewrapper. - Check for fixed pixel widths applied through inline styles.
- Replace fixed page-layout tables with an approved grid class.
- Use
minmax(0, 1fr)only in shared CSS rather than individual page source. - Place very wide tables inside
sf-table-scroll.
An image does not appear
| Check | Example |
|---|---|
| Exact filename | Example.png is different from example.PNG on some systems. |
| Extension | Confirm whether the uploaded file is PNG, JPG, JPEG, GIF, or WebP. |
| File namespace | Use [[File:Filename.png]]. |
| Upload completion | Open the file page and confirm the asset is present. |
| Cached replacement | Refresh or purge after overwriting an existing filename. |
An internal link is red
- Open the intended destination and verify its exact title.
- Check spelling, punctuation, and capitalization.
- Use a piped link when the displayed wording differs from the page title.
- Leave the link red only when the missing page is intentionally planned.
[[Exact Page Title|Displayed wording]]
Raw HTML appears on the page
- Confirm the tag is supported by MediaWiki.
- Check that the tag is not accidentally inside
nowiki. - Do not use raw
<a href>links; use MediaWiki link syntax. - Check for malformed quotation marks in class or style attributes.
- Use ordinary straight quotation marks rather than typographic quotation marks in code.
A table is misaligned
- Confirm every row contains the intended number of cells.
- Check
rowspanandcolspanvalues. - Confirm every opening
tr,th, andtdhas a closing tag. - Set explicit column widths when the browser distributes them poorly.
- Use
table-layout:fixedonly through an approved shared class or controlled style.
New CSS does not appear
- Save the change to
MediaWiki:Common.css. - Confirm the selector matches the source class exactly.
- Refresh the affected page.
- Perform a hard refresh if necessary.
- Purge the Wiki page cache.
- Inspect whether a later CSS rule overrides the new rule.
The source editor cannot paste the full page
Use controlled insertion blocks.
Divide the source by numbered sections, paste them in order, and leave unique insertion comments between blocks until the page is complete.
<!-- PART TWO INSERTS BELOW THIS LINE --> <!-- PART THREE INSERTS BELOW THIS LINE -->
Finding a specific source block
Search for a unique sentence, heading ID, or comment rather than a common class name such as sf-card or sf-codeblock.
id="manual-troubleshooting" <!-- PART II-B — INSERT SECTIONS 17–21 BELOW THIS COMMENT -->
20. Copy/Paste Cookbook
This section collects the most frequently needed Sinfar page structures in one location.
Blank Sinfar page
__NOTOC__ <div class="sf-page"> <div class="sf-hero sf-hero-compact"> <div class="sf-eyebrow">Page Category</div> <h1>Page Title</h1> <p>One-sentence page description.</p> </div> <h2 class="sf-section-title">Overview</h2> <p>Page content.</p> <div class="sf-footerlinks"> [[Related Page]] · [[Main Page]] </div> </div> [[Category:Appropriate Category]]
Two-column information section
<div class="sf-grid-2">
<div class="sf-card">
<h3>First Subject</h3>
<p>First subject information.</p>
</div>
<div class="sf-card">
<h3>Second Subject</h3>
<p>Second subject information.</p>
</div>
</div>
Three-column resource section
<div class="sf-grid-3">
<div class="sf-card">
<h3>First Resource</h3>
<p>Description.</p>
<p class="sf-action-links">[[First Page|Open resource]]</p>
</div>
<div class="sf-card">
<h3>Second Resource</h3>
<p>Description.</p>
<p class="sf-action-links">[[Second Page|Open resource]]</p>
</div>
<div class="sf-card">
<h3>Third Resource</h3>
<p>Description.</p>
<p class="sf-action-links">[[Third Page|Open resource]]</p>
</div>
</div>
Status bar
<div class="sf-start-status"> <div><b>Region</b><br><span>Region name</span></div> <div><b>Level</b><br><span>Level range</span></div> <div><b>Activity</b><br><span>Activity type</span></div> <div><b>Status</b><br><span>Active</span></div> </div>
Quick reference bar
<div class="sf-quickbar"> <div><b>Requirement</b><br>Requirement information.</div> <div><b>Location</b><br>Location information.</div> <div><b>Reward</b><br>Reward information.</div> <div><b>Related Guide</b><br>[[Related Page]]</div> </div>
Information alert
<div class="sf-alert sf-alert-info"> <b>Information</b> <span>Important supporting information.</span> </div>
Warning alert
<div class="sf-alert sf-alert-warning"> <b>Warning</b> <span>A risk, limitation, or common mistake.</span> </div>
Danger alert
<div class="sf-alert sf-alert-danger"> <b>Danger</b> <span>High-risk or critical information.</span> </div>
Neutral note
<div class="sf-note"> <b>Note:</b> Supporting information. </div>
Basic comparison table
<table class="sf-table"> <tr> <th scope="col">Option</th> <th scope="col">Advantages</th> <th scope="col">Limitations</th> </tr> <tr> <td>First option</td> <td>Advantages.</td> <td>Limitations.</td> </tr> <tr> <td>Second option</td> <td>Advantages.</td> <td>Limitations.</td> </tr> </table>
Wide scrolling table
<div class="sf-table-scroll"> <table class="sf-table"> <tr> <th scope="col">Name</th> <th scope="col">Type</th> <th scope="col">Level</th> <th scope="col">Location</th> <th scope="col">Reward</th> <th scope="col">Notes</th> </tr> <tr> <td>Example</td> <td>Example</td> <td>Example</td> <td>Example</td> <td>Example</td> <td>Example</td> </tr> </table> </div>
Packed image gallery
<gallery mode="packed" heights="170" caption="Gallery Title"> File:First_Image.jpg|First caption|alt=First image description. File:Second_Image.jpg|Second caption|alt=Second image description. File:Third_Image.jpg|Third caption|alt=Third image description. </gallery>
Collapsible reference block
<div class="mw-collapsible mw-collapsed sf-card">
<h3>Advanced Information</h3>
<div class="mw-collapsible-content">
<p>Advanced or optional information.</p>
</div>
</div>
<div class="sf-footerlinks"> [[Previous Resource]] · [[Related Resource]] · [[Resource Hub]] · [[Main Page]] </div>
Category block
[[Category:Player Guides]] [[Category:Area Guides]] [[Category:Builder Resources]]
21. Complete Examples
These complete page sources demonstrate how the individual components work together. Replace the sample text, links, categories, and filenames with verified information for the actual subject.
Complete area-guide example
__NOTOC__
<div class="sf-page">
<div class="sf-hero sf-hero-compact">
<div class="sf-eyebrow">Area Guide</div>
<h1>The Western Frontier</h1>
<p>A rugged region of forest roads, abandoned ruins, and scenic mountain overlooks.</p>
</div>
<div class="sf-start-status">
<div><b>Region</b><br><span>Western Isles</span></div>
<div><b>Suggested Level</b><br><span>5–10</span></div>
<div><b>Area Type</b><br><span>Exploration</span></div>
<div><b>Primary Access</b><br><span>Central Crossroads</span></div>
</div>
<div class="sf-img-frame">
[[File:Western_Frontier_Overview.jpg
|center
|1000px
|link=
|alt=Forest road leading toward distant stone ruins.
]]
</div>
<div class="sf-note">
<b>At a glance:</b> The Western Frontier is suitable for exploration, light adventuring, and scenic travel. Some northern routes contain traps and stronger enemies.
</div>
<h2 class="sf-section-title">Overview</h2>
<p>The Western Frontier begins beyond the central crossroads and contains several connected forest and ruin areas. It is frequently used by travelers, explorers, and lower-level adventuring groups.</p>
<h2 class="sf-section-title">How to Reach It</h2>
<p>Travel west from the central crossroads and follow the main stone road. The first fork leads toward the forest settlement, while the northern branch continues toward the ruins.</p>
<div class="sf-alert sf-alert-warning">
<b>Travel warning</b>
<span>The northern path contains hidden traps and enemies stronger than those found along the main road.</span>
</div>
<h2 class="sf-section-title">Points of Interest</h2>
<div class="sf-grid-3">
<div class="sf-card">
<h3>Forest Settlement</h3>
<p>A small inhabited settlement used by travelers and local merchants.</p>
</div>
<div class="sf-card">
<h3>Ancient Ruins</h3>
<p>Overgrown stone structures containing hostile encounters and hidden passages.</p>
</div>
<div class="sf-card">
<h3>Western Overlook</h3>
<p>A scenic clifftop viewpoint overlooking the surrounding islands.</p>
</div>
</div>
<h2 class="sf-section-title">Area Reference</h2>
<table class="sf-table">
<tr>
<th scope="col">Location</th>
<th scope="col">Suggested Level</th>
<th scope="col">Primary Interest</th>
<th scope="col">Notes</th>
</tr>
<tr>
<td>Forest Road</td>
<td>5–7</td>
<td>Travel and exploration</td>
<td>Primary route through the region.</td>
</tr>
<tr>
<td>Ancient Ruins</td>
<td>7–10</td>
<td>Combat and discovery</td>
<td>Contains traps and stronger enemies.</td>
</tr>
<tr>
<td>Western Overlook</td>
<td>Any</td>
<td>Scenic location</td>
<td>Reached through the upper forest trail.</td>
</tr>
</table>
<h2 class="sf-section-title">Gallery</h2>
<gallery mode="packed" heights="170" caption="Western Frontier">
File:Western_Frontier_Road.jpg|Forest road|alt=Stone road passing through dense pine trees.
File:Western_Frontier_Ruins.jpg|Ancient ruins|alt=Overgrown stone ruins surrounded by trees.
File:Western_Frontier_Overlook.jpg|Western overlook|alt=Clifftop view across distant islands.
</gallery>
<div class="sf-footerlinks">
[[Exploration]] · [[Area Directory]] · [[Player Resources]] · [[Main Page]]
</div>
<h2 class="sf-section-title">Change Log</h2>
<ul>
<li>Created the initial area guide.</li>
<li>Added access directions, points of interest, reference table, and gallery.</li>
</ul>
</div>
[[Category:Area Guides]]
[[Category:Exploration]]
Complete crafting-system example
__NOTOC__
<div class="sf-page">
<div class="sf-hero sf-hero-compact">
<div class="sf-eyebrow">Crafting System</div>
<h1>Campfire Cooking</h1>
<p>Prepare gathered ingredients, improve cooking skill, and produce useful meals.</p>
</div>
<div class="sf-start-status">
<div><b>Difficulty</b><br><span>Beginner</span></div>
<div><b>Primary Tool</b><br><span>Campfire cooker</span></div>
<div><b>Progression</b><br><span>Chef ranks</span></div>
<div><b>Output</b><br><span>Prepared food</span></div>
</div>
<div class="sf-note">
<b>System purpose:</b> Campfire cooking allows characters to convert gathered ingredients into meals with varying quality and usefulness.
</div>
<h2 class="sf-section-title">Getting Started</h2>
<ul>
<li>Locate an available campfire cooker.</li>
<li>Gather valid cooking ingredients.</li>
<li>Place the ingredients inside the cooker.</li>
<li>Use the cooker dialogue to review and begin the batch.</li>
</ul>
<h2 class="sf-section-title">Basic Process</h2>
<div class="sf-progress-line">
<div><b>1</b><span>Gather</span></div>
<div><b>2</b><span>Load</span></div>
<div><b>3</b><span>Review</span></div>
<div><b>4</b><span>Cook</span></div>
<div><b>5</b><span>Collect</span></div>
</div>
<h2 class="sf-section-title">Ingredient Reference</h2>
<table class="sf-table">
<tr>
<th scope="col">Ingredient Type</th>
<th scope="col">Size</th>
<th scope="col">Batch Weight</th>
<th scope="col">Notes</th>
</tr>
<tr>
<td>Small ingredient</td>
<td>Small</td>
<td>1</td>
<td>Fastest and safest to cook.</td>
</tr>
<tr>
<td>Medium ingredient</td>
<td>Medium</td>
<td>3</td>
<td>Moderate cooking time and risk.</td>
</tr>
<tr>
<td>Large ingredient</td>
<td>Large</td>
<td>5</td>
<td>Longer cooking time and greater batch pressure.</td>
</tr>
</table>
<h2 class="sf-section-title">Batch Guidance</h2>
<div class="sf-grid-3">
<div class="sf-card">
<h3>Safe Batch</h3>
<p>Low total weight and full experience efficiency.</p>
</div>
<div class="sf-card">
<h3>Overloaded Batch</h3>
<p>Greater production but reduced experience efficiency.</p>
</div>
<div class="sf-card">
<h3>Extreme Batch</h3>
<p>High risk with little or no progression value.</p>
</div>
</div>
<div class="sf-alert sf-alert-warning">
<b>Do not abandon an active batch.</b>
<span>Finished food may burn if it is left unattended beyond the available grace period.</span>
</div>
<h2 class="sf-section-title">Troubleshooting</h2>
<table class="sf-table">
<tr>
<th scope="col">Problem</th>
<th scope="col">Likely Cause</th>
<th scope="col">Correction</th>
</tr>
<tr>
<td>Cooking cannot begin</td>
<td>No valid ingredients were recognized</td>
<td>Review the cooker contents and remove unsupported items.</td>
</tr>
<tr>
<td>Another player cannot use the cooker</td>
<td>The cooker is currently owned by an active chef</td>
<td>Wait for the batch to finish or use another cooker.</td>
</tr>
<tr>
<td>Food burned</td>
<td>The completed batch was left unattended</td>
<td>Collect finished food before the grace period expires.</td>
</tr>
</table>
<div class="sf-footerlinks">
[[Crafting]] · [[Player Resources]] · [[Main Page]]
</div>
</div>
[[Category:Crafting Systems]]
[[Category:Player Guides]]
Complete technical-reference example
<nowiki>__NOTOC__
<div class="sf-page">
<div class="sf-hero sf-hero-compact">
<div class="sf-eyebrow">Builder Resource</div>
<h1>Exterior Lighting Switch</h1>
<p>Transition players between alternate area versions to simulate a lighting or weather change.</p>
</div>
<div class="sf-note">
<b>Implementation:</b> Neverwinter Nights does not provide a universal runtime command for replacing every exterior area-lighting property. This setup uses alternate versions of the same area.
</div>
<h2 class="sf-section-title">Required Setup</h2>
<table class="sf-table">
<tr>
<th scope="col">Requirement</th>
<th scope="col">Example</th>
</tr>
<tr>
<td>Primary area</td>
<td>Exterior house at sunset</td>
</tr>
<tr>
<td>Alternate area</td>
<td>Exterior house during a storm</td>
</tr>
<tr>
<td>Control object</td>
<td>Lever, command panel, or conversation placeable</td>
</tr>
<tr>
<td>Destination waypoint</td>
<td>Matching arrival point in the alternate area</td>
</tr>
</table>
<h2 class="sf-section-title">OnUsed Script</h2>
<pre class="sf-codeblock">
void main()
{
object oUser = GetLastUsedBy();
object oDestination = GetWaypointByTag("WP_STORM_VERSION");
if (!GetIsObjectValid(oUser) ||
!GetIsObjectValid(oDestination))
{
return;
}
AssignCommand(oUser, JumpToObject(oDestination));
}
Configuration
- Replace
WP_STORM_VERSIONwith the destination waypoint tag. - Place equivalent transition controls in both area versions.
- Keep walkmesh, placeable positions, and arrival points consistent where possible.
- Copy persistent state between area versions when the design requires it.
Player-state warning
Objects, creatures, doors, and local variables do not automatically synchronize between separate area instances.
Troubleshooting
| Problem | Correction |
|---|---|
| Nothing happens when used | Confirm the script is assigned to the placeable’s OnUsed event. |
| The player arrives at the wrong location | Verify the waypoint tag and placement. |
| Multiple players must transition together | Loop through eligible party members or nearby players according to the intended design. |
The unified standard
New pages should now be created from these documented components and patterns. This reduces future conversion work and keeps additions visually compatible with the wider Sinfar Wiki.
Change Log
- Created the complete Sinfar Wiki page-construction and style reference.
- Documented MediaWiki markup, supported HTML, shared CSS components, images, galleries, tables, icons, colors, typography, layouts, navigation, templates, accessibility, and performance.
- Added publishing checks, troubleshooting guidance, copy-and-paste components, and complete example pages.
- Established the unified construction standard for future Sinfar Wiki articles.