Okay, I've tried to find answers by reading every page I could find, but I'm still not understanding.
Let's just say:
I have a user page called "Raquel". That page calls a template called "Userpage. So far, so good.
Now I want to create variables which will be substituted on the user page, and that's where it's falling apart.
Let's say I want the city where "Raquel" lives to be substituted into her page and the city where "Pamela" lives to be substituted into her page.
I thought that defining the variables in the user page would do it, in Raquels page: <ff> city = Paris </ff> and then in Pamela's page: <ff> city = London </ff>
In the template file I'm using: City: {{$city}}
But, it's not working.
On 02/07/06, Raquel Rice raquel@thericehouse.net wrote:
Okay, I've tried to find answers by reading every page I could find, but I'm still not understanding.
Let's just say:
I have a user page called "Raquel". That page calls a template called "Userpage. So far, so good.
Now I want to create variables which will be substituted on the user page, and that's where it's falling apart.
[snip]
Assuming {{userpage}} contains a line like
Location: {{{city}}}
then you call the template with, e.g. {{userpage|city=Paris}} to invoke it.
Rob Church
On Sun, 2 Jul 2006 22:37:28 +0100 "Rob Church" robchur@gmail.com wrote:
On 02/07/06, Raquel Rice raquel@thericehouse.net wrote:
Okay, I've tried to find answers by reading every page I could find, but I'm still not understanding.
Let's just say:
I have a user page called "Raquel". That page calls a template called "Userpage. So far, so good.
Now I want to create variables which will be substituted on the user page, and that's where it's falling apart.
[snip]
Assuming {{userpage}} contains a line like
Location: {{{city}}}
then you call the template with, e.g. {{userpage|city=Paris}} to invoke it.
Rob Church
That worked! Thanks Rob!
mediawiki-l@lists.wikimedia.org