Difference between revisions of "Reference:Poem"
Extension: Poem
Overview | |||
---|---|---|---|
Description: | create paragraphs and line breaks for poem formating automatically by using the tag. | ||
State: | stable | Dependency: | MediaWiki |
Developer: | Nikola Smolenski | License: | - |
Type: | MediaWiki | Category: | Rich Articles |
Edition: | BlueSpice free, BlueSpice pro | ||
For more info, visit Mediawiki.
|
Features[edit source]
Poem is a MediaWiki extension to create paragraphs and line breaks automatically.
Technical background[edit | edit source]
Poem is a tag that enforces line breaks.
Functionality of Poem[edit | edit source]
The
block of text is enclosed in <span class='single_linebreak' style='background-color:lightgray'>¶</span> <p> </p>
The extension Poem is very useful for poems but also for text that includes a lot of line breaks and paragraphs.
Example[edit | edit source]
Input Output '''Gesetz der Trübe.'''
Freunde, flieht die dunkle Kammer,
Wo man euch das Licht verzwickt,
Und mit kümmerlichstem Jammer
Sich verschrobnen Bildern bückt.
Abergläubische Verehrer
Gab's die Jahre her genug;
In den Köpfen eurer Leerer
Laßt Gespenst und Wahn und Trug.
Wenn der Blick an heitern Tagen
Sich zur Himmelsbläue lenkt,
Beim Siroc der Sonnenwagen
Purpurroth sich niedersenkt,
Da gebt der Natur die Ehre,
Froh, an Aug' und Herz gesund,
Und erkennt der Farbenlehre
Allgemeinen ewigen Grund.
Gesetz der Trübe.
Freunde, flieht die dunkle Kammer, Wo man euch das Licht verzwickt, Und mit kümmerlichstem Jammer Sich verschrobnen Bildern bückt. Abergläubische Verehrer Gab's die Jahre her genug; In den Köpfen eurer Leerer Laßt Gespenst und Wahn und Trug.
Wenn der Blick an heitern TagenSich zur Himmelsbläue lenkt,
Beim Siroc der Sonnenwagen Purpurroth sich niedersenkt, Da gebt der Natur die Ehre, Froh, an Aug' und Herz gesund, Und erkennt der Farbenlehre Allgemeinen ewigen Grund.
(J.W.von Goethe)
Classical with mit MediaWiki[edit | edit source]
You will find a documentation of this MediaWiki extension at mediawiki.org For more information please visit mediawiki.org.
|}
{{BSExtensionInfobox |desc=create paragraphs and line breaks for poem formating automatically by using the tag. |status=stable |developer=Nikola Smolenski |type=MediaWiki |edition=BlueSpice free, BlueSpice pro |active=No |compatible=MediaWiki |category=Rich Articles |docu=https://www.mediawiki.org/wiki/Extension:Poem }} __NOTOC__ '''Poem''' is a MediaWiki extension to create paragraphs and line breaks automatically. ==Technical background== Poem is a [[Tags|tag]] that enforces line breaks. ==Functionality of Poem== * Newlines will include and shown as line breaks <nowiki> </nowiki> * The block of text is enclosed in <nowiki> <span class='single_linebreak' style='background-color:lightgray'>¶</span> <p> </p> </nowiki> * Colons at the beginning of a line are converted into a indentation * Spaces at the beginning of a line are preserved and no longer invoke the <nowiki> @@@PRE0@@@ </nowiki> * If you want to you can style the poem for example: <pre> </pre> The The extension Poem is very useful for poems but also for text that includes a lot of line breaks and paragraphs. ==Example== {| class="contenttable" style="width: 700px;" |- !|'''Input''' !|'''Output''' |- || <pre>'''Gesetz der Trübe.''' Freunde, flieht die dunkle Kammer, Wo man euch das Licht verzwickt, Und mit kümmerlichstem Jammer Sich verschrobnen Bildern bückt. Abergläubische Verehrer Gab's die Jahre her genug; In den Köpfen eurer Leerer Laßt Gespenst und Wahn und Trug. Wenn der Blick an heitern Tagen Sich zur Himmelsbläue lenkt, Beim Siroc der Sonnenwagen Purpurroth sich niedersenkt, Da gebt der Natur die Ehre, Froh, an Aug' und Herz gesund, Und erkennt der Farbenlehre Allgemeinen ewigen Grund. </pre> ||'''Gesetz der Trübe.''' Freunde, flieht die dunkle Kammer, Wo man euch das Licht verzwickt, Und mit kümmerlichstem Jammer Sich verschrobnen Bildern bückt. Abergläubische Verehrer Gab's die Jahre her genug; In den Köpfen eurer Leerer Laßt Gespenst und Wahn und Trug. Wenn der Blick an heitern TagenSich zur Himmelsbläue lenkt, Beim Siroc der Sonnenwagen Purpurroth sich niedersenkt, Da gebt der Natur die Ehre, Froh, an Aug' und Herz gesund, Und erkennt der Farbenlehre Allgemeinen ewigen Grund. (J.W.von Goethe) <br /><br /> |} ==Classical with mit MediaWiki== You will find a documentation of this MediaWiki extension at For more information please visit [http://www.mediawiki.org/wiki/Extension:Poem mediawiki.org]. {{Box_Links-en | Thema1 =[[Create_and_configure_articles|Create and configure articles]] | Thema2 =[[Formatting|Overview of Formatting in MediaWiki]] | Thema3 =[[Tags|List of tags]] | Thema4 = }} |} [[de:{{FULLPAGENAME}}]][[en:{{FULLPAGENAME}}]] [[Category:Extension]]
Line 11: | Line 11: | ||
}} | }} | ||
__NOTOC__ | __NOTOC__ | ||
− | |||
− | + | '''Poem''' is a MediaWiki extension to create paragraphs and line breaks automatically. | |
− | Poem is a | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
The extension Poem is very useful for poems but also for text that includes a lot of line breaks and paragraphs. | The extension Poem is very useful for poems but also for text that includes a lot of line breaks and paragraphs. | ||
− | + | For more information please visit [http://www.mediawiki.org/wiki/Extension:Poem mediawiki.org]. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
{{Box_Links-en | Thema1 =[[Create_and_configure_articles|Create and configure articles]] | Thema2 =[[Formatting|Overview of Formatting in MediaWiki]] | Thema3 =[[Tags|List of tags]] | Thema4 = }} | {{Box_Links-en | Thema1 =[[Create_and_configure_articles|Create and configure articles]] | Thema2 =[[Formatting|Overview of Formatting in MediaWiki]] | Thema3 =[[Tags|List of tags]] | Thema4 = }} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|} | |} | ||
[[de:{{FULLPAGENAME}}]][[en:{{FULLPAGENAME}}]] | [[de:{{FULLPAGENAME}}]][[en:{{FULLPAGENAME}}]] | ||
[[Category:Extension]] | [[Category:Extension]] |