Template:Code rendered/doc

From OpenStreetMap Wiki
Jump to navigation Jump to search

Usage

For any example table with wiki code and rendering. Without parameters.

Note

This template uses a class tablewikitable.
Warning: The presence of « wikitable » in this template can influence the rendering of certain examples with a table (in particular it forces the background colors of all the cells by a CSS style rule that takes priority over HTML styles, the bold centering of the header cells and the title of the table created. Il faut donc s’assurer de la conformité du rendu de l’exemple avec ce même exemple hors tableau.

Syntax

{{Code rendered}}
|-
| <pre><nowiki></nowiki></pre> || 
|}

Exemple

Exemple 1

wiki code Rendered
{{Code rendered}}
|-
| <pre><nowiki>{{Maxar author}}</nowiki></pre> || {{Maxar author}}
|}
wiki code Rendered
{{Maxar author}}
Maxar technologies (2017 - ) Wikidata Wikipedia Commons
Maxar Technologies logo.svg Foundation 5 october 2017
Headquarters Westminster, Colorado, United States of America
Autority