Difference between revisions of "Template:Warning2"

From Free Pascal wiki
Jump to navigationJump to search
(Add language aware note)
m (Trev moved page Template:Warning3 to Template:Warning2: Replace old Warning2)
 
(No difference)

Latest revision as of 02:11, 28 March 2022

<translate> Warning: </translate> Warning 


Usage

This template has two possible usages:

Usage 1

The following displays the warning icon and the word "Warning".

{{Warning3}} Don't do that!


Template:Warning3 Don't do that!


Usage 2

Uses a table to indent the text. The following includes the text passed to the template, and uses a table to stop the text flowing around the icon.

{{Warning3|Here is a long warning, which is sufficiently wordy to run onto a second line (unless you have a really large screen!), which would normally cause it to wrap round the icon, but because we passed it as a parameter it keeps its left alignment straight.}}


Template:Warning3


Template is language aware

The template is language aware: this means the text "Warning" will be translated to the language of the page which includes the template. If it isn't translated, please add the translation.