Template:Now: Difference between revisions

Jump to navigation Jump to search
97 bytes added ,  21 June 2011
m
improvements . . . ???
(buggy :-()
m (improvements . . . ???)
Line 1: Line 1:
{{CURRENTMONTHNAME}} {{CURRENTYEAR}}<noinclude>
(As of: {{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}})<noinclude>


<span style="color:red;">'''I'm so sorry it's buggy, we try to fix it [[template talk:now|on the talk page...]]'''</span>
<span style="color:red;">'''I'm so sorry it's buggy, we try to fix it [[template talk:now|on the talk page...]]'''</span>


This template shoulb be used for smart time stamping. This may be useful on some variing content such as size or wikiFactor.
This template should be used for smart-time 'stamping'. This may be useful on some varying content such as 'size' or 'wikiFactor'.


Copy the following sequence to your Clipboard
Copy the following sequence to your Clipboard


<nowiki>{{subst:now}}</nowiki>
<pre>{{subst:now}}</pre>


and place it into the wiki page source when editing. Keep in mind: the <code><nowiki>subst:</nowiki></code> is nessesary for using the current template content at saving time. You can see the effect using the ''show preview'' button.
and place it into the wiki page source when editing. Keep in mind: the <code><nowiki>subst:</nowiki></code> is nessesary for using the current template content at saving time. You can see the effect using the ''Show preview'' button (<tt><nowiki>alt-p</nowiki></tt>).


When you save your changes, the <code><nowiki>{{subst:now}}</nowiki></code> will disappear and be permanently replaced by the current time (month followed by year).
When you save your changes (<tt><nowiki>alt-s</nowiki></tt>), the <code><nowiki>{{subst:now}}</nowiki></code> will disappear and be permanently replaced by the current date (day, month followed by year).


[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Navigation menu