Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:LessonLearned: Difference between revisions

Template page
Initial commit since there's no side box template and that's a Lua script on Wikipedia. Reverse engineering known-good ShipTypes template.
 
Arin Mara (talk | contribs)
Extracted docs, beautified and standardized naming convention
Line 1: Line 1:
{| style="float:right; clear:right; margin-left:1em; margin-bottom:1em; border:1px solid #303030; padding:1px; border-collapse:collapse; text-align:center; font-size:11px; width: 30em;"
<includeonly>{| style="float:right; clear:right; margin-left:1em; margin-bottom:1em; border:1px solid #303030; padding:1px; border-collapse:collapse; text-align:center; font-size:11px; width: 30em;"
|-
|-


Line 7: Line 7:
!style="background-color:#101010; font-size:11px; text-align:left; font-weight:normal;"|[[File:Frozen_corpse.png|frameless|upright=0.25|left]]
!style="background-color:#101010; font-size:11px; text-align:left; font-weight:normal;"|[[File:Frozen_corpse.png|frameless|upright=0.25|left]]


{{{Lesson|Pass Lesson=<text> to use}}}
{{{lesson|Pass Lesson=<text> to use}}}


|}<noinclude>
|}</includeonly><noinclude>
A semi-whimsical "Lessons Learned" template implying the lesson was learned posthumously.
[[Category:Sidebar templates]]
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Revision as of 21:03, 5 August 2021

Template documentation (for the above template, sometimes hidden or invisible)
Description
This template is used to convey a semi-whimsical message, implying the lesson was learned posthumously.
Syntax
{{LessonLearned|<lesson>}}
Parameters
lesson
Whimsical message you want to display.
Sample
Lesson Learned

Pass Lesson=<text> to use

{{LessonLearned| It is better to run away heroically than to get Jamyled like a coward!}}
gives...
Visit Template:LessonLearned/doc to edit this text! (How does this work?) (Refresh this text - why?)