×
Create a new article
Write your page title here:
We currently have 454 articles on FHODS Archive. Type your article name above or click on one of the titles below and start writing!



FHODS Archive
454Articles

Template:Foreword: Difference between revisions

Created page with "<noinclude> == Template:Foreword == Renders a styled director's note / foreword in a gold left-bordered blockquote with attribution. === Parameters === {| class="wikitable" ! Parameter !! Description |- | <code>text</code> || The foreword text. Paragraph breaks are supported. |- | <code>author</code> || Name of the author (wikilinked if desired) |- | <code>title</code> || Author's role or title (e.g. ''Youth Section Co-ordinator'') |} === Example === <pre> {{Foreword..."
 
No edit summary
 
Line 1: Line 1:
<noinclude>
<noinclude>
== Template:Foreword ==
== Template:Foreword ==
 
Styled director's note / foreword block with gold left border and attribution line.
Renders a styled director's note / foreword in a gold left-bordered blockquote with attribution.


=== Parameters ===
=== Parameters ===
{| class="wikitable"
* <code>text</code> foreword body (paragraph breaks supported)
! Parameter !! Description
* <code>author</code> author name (wikilinked)
|-
* <code>title</code> — author's role
| <code>text</code> || The foreword text. Paragraph breaks are supported.
|-
| <code>author</code> || Name of the author (wikilinked if desired)
|-
| <code>title</code> || Author's role or title (e.g. ''Youth Section Co-ordinator'')
|}


=== Example ===
=== Example ===
Line 25: Line 18:


[[Category:Formatting templates]]
[[Category:Formatting templates]]
</noinclude><includeonly><div class="fhods-foreword">
</noinclude><includeonly><div class="fhods-foreword"><div class="fhods-foreword-text">{{{text}}}</div><div class="fhods-foreword-attribution">— '''{{{author}}}'''{{#if:{{{title|}}}|, ''{{{title}}}''|}}</div></div></includeonly>
<div class="fhods-foreword-text">{{{text}}}</div>
<div class="fhods-foreword-attribution">— '''[[{{{author}}}]]'''{{#if:{{{title|}}}|, ''{{{title}}}''|}}</div>
</div></includeonly>

Latest revision as of 11:40, 16 June 2026

Template:Foreword

Styled director's note / foreword block with gold left border and attribution line.

Parameters

  • text — foreword body (paragraph breaks supported)
  • author — author name (wikilinked)
  • title — author's role

Example

{{Foreword
| text   = Welcome to The Tower Theatre...
| author = [[Michelle Hartley]]
| title  = Youth Section Co-ordinator
}}