User talk:Wildheart7: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
No change in size ,  24 September 2011
Line 99: Line 99:
Now, if you look at my /Time Format, you'll notice that it's a <span> without actually having the <span> and </span> tags around. That's because the span tags are actually in Special:Preferences, not in the template page.   
Now, if you look at my /Time Format, you'll notice that it's a <span> without actually having the <span> and </span> tags around. That's because the span tags are actually in Special:Preferences, not in the template page.   


So in Preferences, I'll type something like<pre><span style"{{SUBST:{{User:CzechOut/Time}}">{{SUBST:#time:<whatever i want for time>}} }}</span></pre> Now, because I'm substituting /Time, and the contents of /Time ia <noqiki>{{TimeFormat}}</noqiki>, that means the result of substituting /Time is merely to add <nowiki>{{TimeFormat}}</nowiki> to the page.  This means that I can have all the formatting I want and the only thing that will apear on the page is <nowiki>{{TimeFormat}}</nowiki>.  Which is handy, cause people get pissed off if you have a huge, multi-line signature.
So in Preferences, I'll type something like<pre><span style"{{SUBST:{{User:CzechOut/Time}}">{{SUBST:#time:<whatever i want for time>}} }}</span></pre> Now, because I'm substituting /Time, and the contents of /Time ia <nowiki>{{TimeFormat}}</nowiki>, that means the result of substituting /Time is merely to add <nowiki>{{TimeFormat}}</nowiki> to the page.  This means that I can have all the formatting I want and the only thing that will apear on the page is <nowiki>{{TimeFormat}}</nowiki>.  Which is handy, cause people get pissed off if you have a huge, multi-line signature.


So, to sum up.  Create two subpages from your user page.  In file ''a'', place your formatting.  In file ''b'', place a template call to file ''a'' ({{user:Wildheart7/File a}}).  Then, in your preferences, type<pre><span style="{{SUBST:{{user:Wildheart7/File B}}}}">{{#time:<whatever>}}</span></pre>
So, to sum up.  Create two subpages from your user page.  In file ''a'', place your formatting.  In file ''b'', place a template call to file ''a'' ({{user:Wildheart7/File a}}).  Then, in your preferences, type<pre><span style="{{SUBST:{{user:Wildheart7/File B}}}}">{{#time:<whatever>}}</span></pre>


Don't forget that [[help:signatures]] tells you more about how actualy format time — that is, it tells you what that <whatever> should be.  Hope that helps! {{user:CzechOut/Sig}}&nbsp;<span style="{{User:CzechOut/TimeFormat}}">05:58: Sat&nbsp;24 Sep 2011&nbsp;</span>
Don't forget that [[help:signatures]] tells you more about how actualy format time — that is, it tells you what that <whatever> should be.  Hope that helps! {{user:CzechOut/Sig}}&nbsp;<span style="{{User:CzechOut/TimeFormat}}">05:58: Sat&nbsp;24 Sep 2011&nbsp;</span>
85,404

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.