Template:CrashCodeEntry: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Created page with "<includeonly>{{#tag:syntaxhighlight|{{{1}}}|lang=c++}} || {{#tag:syntaxhighlight|{{{2}}}|lang=c++}}</includeonly> <noinclude> This template will include <code>syntaxhighlight</code> blocks in a table.<br/> Example: <syntaxhighlight lang="wiki"> {| class="wikitable" ! Offset !! Function |- | {{CrashCodeEntry|0x123|func()}} |- | {{CrashCodeEntry|0x456|otherFunc()}} |} </syntaxhighlight> {| class="wikitable" ! Offset !! Function |- | {{CrashCodeEntry|0x123|func()}} |- | {{C...")
 
m (Beautified)
Line 1: Line 1:
<includeonly>{{#tag:syntaxhighlight|{{{1}}}|lang=c++}} || {{#tag:syntaxhighlight|{{{2}}}|lang=c++}}</includeonly>
<includeonly>{{#tag:syntaxhighlight|{{{1}}}|lang=c++}} || {{#tag:syntaxhighlight|{{{2}}}|lang=c++}}</includeonly>
<noinclude>
<noinclude>
This template will include <code>syntaxhighlight</code> blocks in a table.<br/>
This template will include <code>syntaxhighlight</code> blocks in a table.
Example:
 
==Syntax==
<syntaxhighlight lang="pcre">
&#123;&#123;CrashCodeEntry|First column|Second column&#125;&#125;
</syntaxhighlight>
 
== Example ==
<syntaxhighlight lang="wiki">
<syntaxhighlight lang="wiki">
{| class="wikitable"
{| class="wikitable"

Revision as of 15:01, 23 March 2024


This template will include syntaxhighlight blocks in a table.

Syntax

{{CrashCodeEntry|First column|Second column}}

Example

{| class="wikitable"
! Offset !! Function
|-
| {{CrashCodeEntry|0x123|func()}}
|-
| {{CrashCodeEntry|0x456|otherFunc()}}
|}
Offset Function
0x123
func()
0x456
otherFunc()