Difference between revisions of "User talk:J McKalling"

From Twinsuniverse
Jump to: navigation, search
m
Line 1: Line 1:
==My sandbox==
 
 
ParserFunctions test: {{#if: teststring | ParserFunctions is enabled! | nope, still nothing}}
 
 
 
== Character test ==
 
== Character test ==
 
 
{{infobox Character|gender=male|occupation=Administrator|nocat=true}}
 
{{infobox Character|gender=male|occupation=Administrator|nocat=true}}
 
I'm rendering the character template for myself here just to test out how easy it works. It works, and it even automatically categorizes this page as intended. But I've used the feature to suppress categorization here, because it being on my talk page is just a test.
 
I'm rendering the character template for myself here just to test out how easy it works. It works, and it even automatically categorizes this page as intended. But I've used the feature to suppress categorization here, because it being on my talk page is just a test.
 +
 +
I have proudly enabled and figured out the [[mw:Extension:ParserFunctions|ParserFunctions extension]] and [[mw:Extension:WikiEditor|WikiEditor extension]], and I just added the [[mw:Extension:Variables|Variables extension]]. This means we can now use conditional statements like:
 +
 +
<nowiki>{{#if: {{{class|}}} | class="{{{class}}}" }}</nowiki>
 +
To render something under some circumstances. And variables to be able to call something for later use on the same page, for instance, specify somewhere at the beginning of the page:
 +
 +
<nowiki>{{#vardefine: lba | Little Big Adventure }}</nowiki>
 +
And then use it at multiple places later on the same page with:
 +
 +
<nowiki>{{#var: lba }}</nowiki>
 +
The values can even be substituted by other parser functions, template parameters, expressions, etc. Cool huh?

Revision as of 00:30, 24 November 2012

Character test

J McKalling

No image was specified for this article

Race

unknown [list all]

Gender

Male [list all]

Size

unknown [list all]

Age

unknown [list all]

Magical

unknown [list all]

Adventure

unknown [list all]

Character
Alignment

unknown [list all]

Occupation

Administrator

I'm rendering the character template for myself here just to test out how easy it works. It works, and it even automatically categorizes this page as intended. But I've used the feature to suppress categorization here, because it being on my talk page is just a test.

I have proudly enabled and figured out the ParserFunctions extension and WikiEditor extension, and I just added the Variables extension. This means we can now use conditional statements like:

{{#if: {{{class|}}} | class="{{{class}}}" }}

To render something under some circumstances. And variables to be able to call something for later use on the same page, for instance, specify somewhere at the beginning of the page:

{{#vardefine: lba | Little Big Adventure }}

And then use it at multiple places later on the same page with:

{{#var: lba }}

The values can even be substituted by other parser functions, template parameters, expressions, etc. Cool huh?