Jump to content

Template:Page Intro: Difference between revisions

From Starship Simulator
Create page
 
m Updated
Line 1: Line 1:
<div style="clear:both; margin-top:2em; background-color: #ABCDEF; border: 2px solid black; padding: 10px; width: 50%; border-radius:5px; text-align: center; font-size: 1.2em; margin: 0 auto;">
<div style="clear:both; margin-top:2em; background-color: #f8f8f8; border: 2px solid black; padding: 10px; width: 75%; border-radius:15px; text-align: center; font-size: 1.2em; margin: 0 auto;">
     <h1 style="font-size: 1.5em; margin: 0.2em 0; color: #333;">{{{title|{{PAGENAME}}}}}</h1>
     <h1 style="font-size: 1.5em; margin: 0.2em 0; color: black;">{{{title|{{PAGENAME}}}}}</h1>
     <p style="margin: 0; font-size: 1em; color: #555;">{{{description|No description provided.}}} </p>
     <p style="margin: 0; font-size: 1em; color: black;">{{{description|No description provided.}}} </p>
</div>
</div>



Revision as of 09:03, 6 July 2025

Page Intro

No description provided.


This template provides a standardized introductory header for wiki pages, displaying the page title and a custom description in a styled box.

Usage

Place this template at the top of a page, typically after any warning templates (like '''{{WIP}}''' or '''{{Spoiler Warning}})'''. You can customize the displayed title and provide a description.

  • Basic Usage (uses current page name as title):
 {{Page_Intro|description=A brief overview of the content on this page.}}
  • Full Usage (custom title and description):
 {{Page_Intro|title=Custom Page Title Here|description=A more detailed custom description for this page, explaining its purpose or content at a glance.}}