Category:Moderator.ID
Version: - integerSummary
Returns ID of moderator.
Settings
The value is based on ID of the user in Users module.
Examples
Outputting the template tag
@GetInteger("Category:Moderator.ID")
Check if tag has a value
@if(!int.IsNullOrWhiteSpace(GetInteger("Category:Moderator.ID"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
int storedTag = GetInteger("Category:Moderator.ID");
}
Outputting the template tag
<!--@Category:Moderator.ID-->
Check if integer has a value
<!--@If Defined(@Category:Moderator.ID)-->
Let's output this tag here: <strong><!--@Category:Moderator.ID--></strong>
<!--@EndIf(@Category:Moderator.ID)-->