Template:CodeLine5: Difference between revisions
From Civilization Modding Wiki
Jump to navigationJump to search
(Created page with "<includeonly>|- |class="line"|<code>{{{1}}}</code> |class="code"|</includeonly><noinclude> ==Demonstration== {| |- !Code !Result |- |valign="top"|<pre style="border:none; margin:...") |
(No difference)
|
Latest revision as of 14:03, 19 September 2012
Demonstration
Code | Result | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
{{CodeBegin5}} {{CodeLine5|1135}}<syntaxhighlight lang="lua">print("hello world!")</syntaxhighlight> {{CodeBreak5}} {{CodeLine5|1136}}<syntaxhighlight lang="lua">print("hello world bis!")</syntaxhighlight> {{CodeEnd5}} |
|
Usage
{{CodeLine5|<line number>}}<syntaxhighlight lang="lua">print("hello world!")</syntaxhighlight>
- line number: the number of this line of code.