<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://skizzerz.net/DiceRoller/index.php?action=history&amp;feed=atom&amp;title=Dice%2FMacroContext%2FParam</id>
	<title>Dice/MacroContext/Param - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://skizzerz.net/DiceRoller/index.php?action=history&amp;feed=atom&amp;title=Dice%2FMacroContext%2FParam"/>
	<link rel="alternate" type="text/html" href="https://skizzerz.net/DiceRoller/index.php?title=Dice/MacroContext/Param&amp;action=history"/>
	<updated>2026-04-05T22:05:26Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.0</generator>
	<entry>
		<id>https://skizzerz.net/DiceRoller/index.php?title=Dice/MacroContext/Param&amp;diff=914&amp;oldid=prev</id>
		<title>Skizzerz at 23:18, 14 August 2017</title>
		<link rel="alternate" type="text/html" href="https://skizzerz.net/DiceRoller/index.php?title=Dice/MacroContext/Param&amp;diff=914&amp;oldid=prev"/>
		<updated>2017-08-14T23:18:03Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 23:18, 14 August 2017&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l12&quot; &gt;Line 12:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 12:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Type: System.String&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Type: System.String&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The parameter passed to the macro. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;The &lt;/del&gt;callback is responsible for parsing this into something useful and acting accordingly.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The parameter passed to the macro. &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;If not using the recommended method of separating arguments with colons, the &lt;/ins&gt;callback is responsible for parsing this into something useful and acting accordingly.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Remarks ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Remarks ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;All leading and trailing whitespace is trimmed from Param, so the macro {{c|[  a  ]}} and the macro {{c|[a]}} have equivalent Params ({{cs|&amp;quot;a&amp;quot;}}). The full string from the macro is passed into Param, no additional parsing is performed. It is up to the macro callback to parse Param into something useful.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;All leading and trailing whitespace is trimmed from Param, so the macro {{c|[  a  ]}} and the macro {{c|[a]}} have equivalent Params ({{cs|&amp;quot;a&amp;quot;}}). The full string from the macro is passed into Param, no additional parsing is performed. It is up to the macro callback to parse Param into something useful.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;A recommended method is to separate macro arguments via the colon character, for example {{c|[a:b:c]}} would execute a macro named &amp;quot;a&amp;quot; with &amp;quot;b&amp;quot; and &amp;quot;c&amp;quot; as the two arguments passed into it. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;However&lt;/del&gt;, you &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;are free &lt;/del&gt;to use &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;whatever method you wish&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;A recommended method is to separate macro arguments via the colon character, for example {{c|[a:b:c]}} would execute a macro named &amp;quot;a&amp;quot; with &amp;quot;b&amp;quot; and &amp;quot;c&amp;quot; as the two arguments passed into it. &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;If you use this method&lt;/ins&gt;, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;these are pre-parsed for you and available in the [[../Name|Name]] and [[../Arguments|Arguments]] properties (so &lt;/ins&gt;you &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;do not need &lt;/ins&gt;to use &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Param at all in that case)&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key skizzerz_dice:diff::1.12:old-753:rev-914 --&gt;
&lt;/table&gt;</summary>
		<author><name>Skizzerz</name></author>
		
	</entry>
	<entry>
		<id>https://skizzerz.net/DiceRoller/index.php?title=Dice/MacroContext/Param&amp;diff=753&amp;oldid=prev</id>
		<title>Skizzerz: Created page with &quot;{{APIdoc|MacroContext.Param Property}} Gets the parameter passed to the macro.  {{ns}}  == Syntax == &lt;syntaxhighlight lang=&quot;C#&quot;&gt; public string Param { get; private set; } &lt;/sy...&quot;</title>
		<link rel="alternate" type="text/html" href="https://skizzerz.net/DiceRoller/index.php?title=Dice/MacroContext/Param&amp;diff=753&amp;oldid=prev"/>
		<updated>2017-04-27T18:27:48Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{APIdoc|MacroContext.Param Property}} Gets the parameter passed to the macro.  {{ns}}  == Syntax == &amp;lt;syntaxhighlight lang=&amp;quot;C#&amp;quot;&amp;gt; public string Param { get; private set; } &amp;lt;/sy...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{APIdoc|MacroContext.Param Property}}&lt;br /&gt;
Gets the parameter passed to the macro.&lt;br /&gt;
&lt;br /&gt;
{{ns}}&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;C#&amp;quot;&amp;gt;&lt;br /&gt;
public string Param { get; private set; }&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Property Value ===&lt;br /&gt;
Type: System.String&lt;br /&gt;
&lt;br /&gt;
The parameter passed to the macro. The callback is responsible for parsing this into something useful and acting accordingly.&lt;br /&gt;
&lt;br /&gt;
== Remarks ==&lt;br /&gt;
All leading and trailing whitespace is trimmed from Param, so the macro {{c|[  a  ]}} and the macro {{c|[a]}} have equivalent Params ({{cs|&amp;quot;a&amp;quot;}}). The full string from the macro is passed into Param, no additional parsing is performed. It is up to the macro callback to parse Param into something useful.&lt;br /&gt;
&lt;br /&gt;
A recommended method is to separate macro arguments via the colon character, for example {{c|[a:b:c]}} would execute a macro named &amp;quot;a&amp;quot; with &amp;quot;b&amp;quot; and &amp;quot;c&amp;quot; as the two arguments passed into it. However, you are free to use whatever method you wish.&lt;/div&gt;</summary>
		<author><name>Skizzerz</name></author>
		
	</entry>
</feed>