Template:RCO TOC entry common area: Difference between revisions
Jump to navigation
Jump to search
(Test, trying to simplify the usage) |
No edit summary |
||
Line 28: | Line 28: | ||
**This template is intended to represent any RCO TOC entry, and to be used from inside a table, when calling it can be specifyed 5 fields | **This template is intended to represent any RCO TOC entry, and to be used from inside a table, when calling it can be specifyed 5 fields | ||
**The field 3 is intended to display code with syntax higlight as example: <nowiki><syntaxhighlight lang="xml" enclose="none"><MainTree name="label" /></syntaxhighlight></nowiki> | **The field 3 is intended to display code with syntax higlight as example: <nowiki><syntaxhighlight lang="xml" enclose="none"><MainTree name="label" /></syntaxhighlight></nowiki> | ||
**As example the code <nowiki>{{RCO TOC entry common area|1|2| | **As example the code <nowiki>{{RCO TOC entry common area|1|2|MainTree|4|5}}</nowiki> when called from inside a table will result: | ||
{| class="wikitable" style="font-size:small;" | {| class="wikitable" style="font-size:small;" | ||
|- | |- | ||
Line 35: | Line 35: | ||
| colspan="9" {{cellcolors|lightgrey}} | | colspan="9" {{cellcolors|lightgrey}} | ||
|- | |- | ||
| {{RCO TOC entry common area|1|2| | | {{RCO TOC entry common area|1|2|MainTree|4|5}} | ||
|} | |} | ||
Revision as of 02:42, 23 April 2023
- Example
- This template is intended to represent any RCO TOC entry, and to be used from inside a table, when calling it can be specifyed 5 fields
- The field 3 is intended to display code with syntax higlight as example: <syntaxhighlight lang="xml" enclose="none"><MainTree name="label" /></syntaxhighlight>
- As example the code {{RCO TOC entry common area|1|2|MainTree|4|5}} when called from inside a table will result: