Vorlage:Poemquote/doc: Unterschied zwischen den Versionen
[unmarkierte Version] | [unmarkierte Version] |
te>Ost316 (Adding and modifying section for TemplateData from Template:Quote/doc) |
K (1 Version importiert) |
Aktuelle Version vom 6. September 2019, 11:43 Uhr
Lua-Fehler: Der Prozess konnte nicht erstellt werden: proc_open(/dev/null): failed to open stream: Operation not permitted A template for quoting poems, song lyrics, and other things that have frequent line breaks and other things that would generally be ignored in standard wiki formatting. Based on {{Quote}}; see there for further usage details.
Example
Markup | Renders asLua-Fehler: Der Prozess konnte nicht erstellt werden: proc_open(/dev/null): failed to open stream: Operation not permitted |
---|---|
Compare with {{Quote}}:
Markup | Renders asLua-Fehler: Der Prozess konnte nicht erstellt werden: proc_open(/dev/null): failed to open stream: Operation not permitted |
---|---|
Note that while the version above using {{Quote}} may appear to work in some browsers, it does not do so consistently in all of them. Use <poem>...</poem>
– or a template like {{Poemquote}}
that implements it – around material that requires that whitespace formatting be preserved as in the original, such as poems and interlinear glosses. Due to limitations of how MediaWiki parses wikimarkup and HTML, attempts to do this by just inserting blank lines and extra spaces will not work. This is true of all block elements.
(Technical note: Although {{Poemquote}} uses the Tag:#poem
markup rather than using <poem>
, it is functionally the same.)
TemplateData
TemplateData for Poemquote
<templatedata> { "description": "Adds a block quotation.", "params": { "text": { "label": "text", "description": "The text to quote", "type": "content", "required": true, "aliases": [ "1", "quote" ], }, "char": { "label": "char", "description": "The character being quoted", "type": "content", "required": false, "example": "Alice", "suggested": true }, "sign": { "label": "sign", "description": "The person being quoted", "type": "content", "required": false, "aliases": [ "2", "cite", "author" ], "example": "Louis Carol", "suggested": true }, "title": { "label": "title", "description": "The title of the poem being quoted", "type": "content", "required": false, "aliases": [ "3", ], "example": "Jabberwocky", "suggested": true }, "source": { "label": "source", "description": "A source for the quote", "type": "content", "required": false, "aliases": [ "4" ], "example": "Through the Looking-Glass, and What Alice Found There", "suggested": true }, "style": { "label": "style", "description": "Standard CSS style", "type": "string", "required": false, } } } </templatedata>
See also
Lua-Fehler: Der Prozess konnte nicht erstellt werden: proc_open(/dev/null): failed to open stream: Operation not permitted