Template:CodeLine5

From Civilization Modding Wiki
Revision as of 14:03, 19 September 2012 by DonQuich (talk | contribs) (Created page with "<includeonly>|- |class="line"|<code>{{{1}}}</code> |class="code"|</includeonly><noinclude> ==Demonstration== {| |- !Code !Result |- |valign="top"|<pre style="border:none; margin:...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

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}}
1135
print("hello world!")
1136
print("hello world bis!")


Usage

{{CodeLine5|<line number>}}<syntaxhighlight lang="lua">print("hello world!")</syntaxhighlight>
line number: the number of this line of code.