Difference between revisions of "Template:OBSE Format Specifiers"

Jump to navigation Jump to search
m
formatting
imported>DragoonWraith
(making a template for this)
 
imported>DragoonWraith
m (formatting)
Line 3: Line 3:


'''%r'''
'''%r'''
Prints a return, ending the current line and starting at the next.
Prints a return, ending the current line and starting at the next.


'''%n'''
'''%n'''
Prints the name of the specified reference or object.
Prints the name of the specified reference or object.


'''%i'''
'''%i'''
Prints the formID of the specified reference or object.
Prints the formID of the specified reference or object.


'''%k'''
'''%k'''
Prints the name of the key for the specified DirectInput scancode, such as those used for [[IsKeyPressed2]].
Prints the name of the key for the specified DirectInput scancode, such as those used for [[IsKeyPressed2]].


'''%c'''
'''%c'''
Prints the specified component of the specified reference or object. Takes two arguments - the reference, and an index. Behaves differently depending on the passed reference:
Prints the specified component of the specified reference or object. Takes two arguments - the reference, and an index. Behaves differently depending on the passed reference:
* Magic Item: Prints the ''n''th Magic Effect
* Magic Item: Prints the ''n''th Magic Effect
* Faction: Prints the ''n''th male rank title
* Faction: Prints the ''n''th male rank title

Navigation menu