Benutzer:Nicholas Rush/Testseite: Unterschied zwischen den Versionen

aus Stargate Wiki, dem deutschsprachigen Stargate-Lexikon
Zur Navigation springen Zur Suche springen
Nicholas Rush (Diskussion | Beiträge)
Keine Bearbeitungszusammenfassung
Nicholas Rush (Diskussion | Beiträge)
Änderung 159407 von Nicholas Rush (Diskussion) wurde rückgängig gemacht.
Zeile 14: Zeile 14:
<center><small><span class="plainlinks">Update: [http://{{SERVERNAME}}/w/index.php?title=User:{{#if:{{{url|{{{1|}}}}}}|{{{url|{{{1|Hersfold}}}}}}|{{BASEPAGENAMEE}}}}/Status&action=edit&amfind=.*&amreplace=online&amlocal=1&amsummary=Setting%20status%20to%20%22online%22&amautosave=yes&amminor=1 <font color="green">On</font>] • [http://{{SERVERNAME}}/w/index.php?title=User:{{#if:{{{url|{{{1|}}}}}}|{{{url|{{{1|Hersfold}}}}}}|{{BASEPAGENAMEE}}}}/Status&action=edit&amfind=.*&amreplace=Recently%20online&amlocal=1&amsummary=Setting%20status%20to%20%22recently%20online%22&amautosave=yes&amminor=1 <font color="blue">{{#if:{{{irc|}}}|IRC|Busy}}</font>] • [http://{{SERVERNAME}}/w/index.php?title=User:{{#if:{{{url|{{{1|}}}}}}|{{{url|{{{1|Hersfold}}}}}}|{{BASEPAGENAMEE}}}}/Status&action=edit&amfind=.*&amreplace=At%20work/In%20class&amlocal=1&amsummary=Setting%20status%20to%20%22work%20or%20class%22&amautosave=yes&amminor=1 <font color="#D4AF37">Work/Class</font>] •  
<center><small><span class="plainlinks">Update: [http://{{SERVERNAME}}/w/index.php?title=User:{{#if:{{{url|{{{1|}}}}}}|{{{url|{{{1|Hersfold}}}}}}|{{BASEPAGENAMEE}}}}/Status&action=edit&amfind=.*&amreplace=online&amlocal=1&amsummary=Setting%20status%20to%20%22online%22&amautosave=yes&amminor=1 <font color="green">On</font>] • [http://{{SERVERNAME}}/w/index.php?title=User:{{#if:{{{url|{{{1|}}}}}}|{{{url|{{{1|Hersfold}}}}}}|{{BASEPAGENAMEE}}}}/Status&action=edit&amfind=.*&amreplace=Recently%20online&amlocal=1&amsummary=Setting%20status%20to%20%22recently%20online%22&amautosave=yes&amminor=1 <font color="blue">{{#if:{{{irc|}}}|IRC|Busy}}</font>] • [http://{{SERVERNAME}}/w/index.php?title=User:{{#if:{{{url|{{{1|}}}}}}|{{{url|{{{1|Hersfold}}}}}}|{{BASEPAGENAMEE}}}}/Status&action=edit&amfind=.*&amreplace=At%20work/In%20class&amlocal=1&amsummary=Setting%20status%20to%20%22work%20or%20class%22&amautosave=yes&amminor=1 <font color="#D4AF37">Work/Class</font>] •  
[http://{{SERVERNAME}}/w/index.php?title=User:{{#if:{{{url|{{{1|}}}}}}|{{{url|{{{1|Hersfold}}}}}}|{{BASEPAGENAMEE}}}}/Status&action=edit&amfind=.*&amreplace=offline&amlocal=1&amsummary=Setting%20status%20to%20%22offline%22&amautosave=yes&amminor=1 <font color="red">Off</font>]</span></small></center></div><noinclude>
[http://{{SERVERNAME}}/w/index.php?title=User:{{#if:{{{url|{{{1|}}}}}}|{{{url|{{{1|Hersfold}}}}}}|{{BASEPAGENAMEE}}}}/Status&action=edit&amfind=.*&amreplace=offline&amlocal=1&amsummary=Setting%20status%20to%20%22offline%22&amautosave=yes&amminor=1 <font color="red">Off</font>]</span></small></center></div><noinclude>
Wollen zeigen Sie Ihren Status, aber  sind nicht bereit, nicht finden können, eine Arbeitsgruppe bot, um es für Sie zu erledigen? Diese Vorlage bietet eine einfache, One-Click-Weg zu Ihrem Status selbst, so dass Sie immer online sind sofort nach dem Login zu aktualisieren, und offline, sobald Sie sich ausloggen. '''Diese Vorlage ist jetzt [[WP: HAU]]-kompatibel.'''
Want to show your status, but <s>aren't willing to trust</s> can't find a working bot to handle it for you? This template provides an easy, one-click way to update your status yourself, so that you're always online immediately after you log in, and offline as soon as you log out. '''This template is now [[WP:HAU]] compatible.'''


== Wie man mit dieser Vorlage ==
== How to use this template ==


# [[Special erstellen: Mypage / Status]]. Sie können hier einen beliebigen Text in Ort, ist es egal, nur es erstellen.
#Create [[Special:Mypage/Status]]. You can place any text in here, it doesn't matter; just create it.
# Ihre [[Special Go: Mypage / monobook.js | monobook.js]]-Datei und fügen <code> importScript ('User: Henrik / js / automod.js');</ code> Dieses Skript ist für die notwendige Automatische Update-Links zu arbeiten. Einige andere Skripte enthalten bereits diese ein - keine Sorge, die Installation dieses zweimal (oder mehr) wird nicht schaden nichts.
#Go to your [[Special:Mypage/monobook.js|monobook.js file]] and add <code>importScript('User:Henrik/js/automod.js');</code> This script is necessary for the automated update links to work. Some other scripts already include this one - don't worry, installing this twice (or more) won't hurt anything.
# [[WP: BYPASS | Clear Cache Ihres Browsers]]. Das Skript kann nicht funktionieren, wenn Sie nicht.
#[[WP:BYPASS|Clear your browser's cache]]. The script may not work if you don't.
# Fügen Sie diese Vorlage wo Sie es verwenden, wie so wollen: <tt>'''<nowiki> ((User: Hersfold / StatusTemplate)) </ nowiki >'''</ tt>.
#Add this template where you want to use it, like so: <tt>'''<nowiki>{{User:Hersfold/StatusTemplate}}</nowiki>'''</tt> .
# Die Seite zu speichern.
#Save the page.
# Klicken Sie auf eines der drei "Update"-Links. Diese wird automatisch aktualisiert / Status Seite, die Sie in Schritt 1, um etwas erkennen können diese Vorlage erstellt.
#Click one of the three "Update" links. This will automatically update the /Status page you created in Step 1 to something this template can recognize.


=== Zur Zeit aktive Status Arten ===
=== Currently active status types ===
(| Class = "wikitable"
{|class="wikitable"
| -
|-
! Update-Link
!Update link
! Setzt Ihren Status zu ...
!Sets your status to...
| -
|-
| <font Color="green"> On </ font>
|<font color="green">On</font>
| <center> [[Bild: Symbol-Unterstützung vote.svg | 20px]] <font color="green">'''Online'''</ font> </ center>
|<center>[[Image:Symbol support vote.svg|20px]] <font color="green">'''Online'''</font></center>
| -
|-
| <font Color="blue"> Busy </ font>
|<font color="blue">Busy</font>
| <center> [[Bild: Symbol support2 vote.svg | 20px]] <font color="blue">'''Busy'''</ font> </ center>
|<center>[[Image:Symbol support2 vote.svg|20px]] <font color="blue">'''Busy'''</font></center>
<center> <small> Ich kann nicht aktiv bearbeitet, <br> sein, aber ich bin rund um. </ small> </ center>
<center><small>I may not be actively editing,<br>but I am around.</small></center>
| -
|-
| <font Color="#D4AF37"> Work / Klasse </ font>
|<font color="#D4AF37">Work/Class</font>
| <center> [[File: Symbol comment.svg | 20px]] <font color="#D4AF37">'''am Arbeitsplatz oder in der Klasse'''</ font> </ center>
|<center>[[File:Symbol comment.svg|20px]] <font color="#D4AF37">'''At work or in class'''</font></center>
<center> <small> Ich kann nicht aktiv bearbeitet, <br> sein, aber ich bin rund um. </ small> </ center>
<center><small>I may not be actively editing,<br>but I am around.</small></center>
| -
|-
| <font Color="red"> Off </ font>
|<font color="red">Off</font>
| <center> [[Bild: Symbol widersetzen vote.svg | 20px]] <font color="red">'''Offline'''</ font> </ center>
|<center>[[Image:Symbol oppose vote.svg|20px]] <font color="red">'''Offline'''</font></center>
| -
|-
| Alles andere
|Anything else
| <center> [[Bild: Symbol neutral vote.svg | 20px]] <font color="gray">'''Lost .'''</ font> </ center>
|<center>[[Image:Symbol neutral vote.svg|20px]] <font color="gray">'''Lost.'''</font></center>
<center> <small> Check meinen Status ((plainlinks | URL = http://en.wikipedia.org/w/index.php?title=User:Hersfold/Status&action=history|NAME=history)) für weitere Infos. </ small> </ center>
<center><small>Check my status {{plainlinks|URL=http://en.wikipedia.org/w/index.php?title=User:Hersfold/Status&action=history|NAME=history}} for more info.</small></center>
|)
|}
Sie finden nicht was Sie wollen? Sie können zusätzliche Status auf [[User talk empfehlen: Hersfold | Hersfold]]. Bitte beachten Sie jedoch, dass Ergänzungen trivial, dass das gleiche wie oben aufgeführt etwas (wie "In Da Hood" anstelle von "Online") werden nicht hinzugefügt bedeuten. Es ist auch ein praktisches Limit, wie viele Links zu aktualisieren, können aufgeführt werden, zu verhindern, dass die Vorlage zu unhandlich.
Don't see what you want? You can suggest additional statuses to [[User talk:Hersfold|Hersfold]]. Please note, however, that trivial additions that mean the same thing as something listed above (Such as "In da hood" instead of "Online") will not be added. There is also a practical limit to how many update links can be listed, to avoid making the template too unwieldy.


=== Parameter ===
=== Parameters ===


*'''< TT> 1 = </ tt> oder der ersten unbenannten Parameter'''Wenn Sie möchten, an einen anderen Benutzer den Status, anzuzeigen oder Sie Probleme mit der Bearbeitung Links (su), geben Sie den benutzerdefinierten Benutzernamen (ohne die User:-Präfix), um das Problem zu korrigieren. Beispiel: <tt> <nowiki> ((User: Hersfold / StatusTemplate | Hersfold non-admin)) </ nowiki> </ tt> Das sollte nicht nötig sein, wenn Sie diesen auf einer eigenen Template Unterseiten.
*'''<tt>1=</tt> or first unnamed parameter''' If you want to display another user's status, or you are having trouble with the editing links (see below), enter the custom username (without the User: prefix) to correct the issue. Example: <tt><nowiki>{{User:Hersfold/StatusTemplate|Hersfold non-admin}}</nowiki></tt> This should not be necessary when using this template on one of your own subpages.
*'''< Tt> (align = left | center | right) </ tt>'''Verwenden Sie dieses Steuerelement, wenn die Box angezeigt wird. Die Vorlage wird auf die standardmäßig links schweben, kann jedoch aus nach rechts mit <tt> align = right </ tt> float sein. Mit "center" wird dazu führen das Feld auf der Seite wie eine Fahne ausgebreitet - siehe [[# Bekannte Probleme | Bekannte Probleme]] "weiter unten.
*'''<tt>align={left|center|right}</tt>''' Use this to control where the box is displayed. The template will float to the left by default, however can be made to float right with <tt>align=right</tt>. Using "center" will cause the box to spread across the page like a banner - see "[[#Known issues|Known issues]]" below.
*'''< Tt> IRC = y </ tt>'''Verwenden Sie diese zu ändern "Busy" auf "IRC" - könnte für diejenigen wie mich, die nützlich lauern rund um die IRC-Kanälen wartet auf etwas Interessantes passiert.
*'''<tt>irc=y</tt>''' Use this to change "Busy" to "On IRC" - could be useful for those like me who lurk around the IRC channels waiting for something interesting to happen.
*'''< Tt> url = </ tt>'''Bei Angabe eines benutzerdefinierten Benutzernamen mit <tt> 1 = </ tt> wie oben beschrieben, einige Benutzernamen (die mit Leerzeichen oder Sonderzeichen) kann die Links bearbeiten falsch angezeigt wird oder nicht funktionieren. Verwenden Sie diese zur Lieferung einer [[Prozent-Kodierung | URL verschlüsselt]] Version der Benutzername, um das Problem zu beheben. Beispiel: [[User: Joe's Benutzername]] müsste die Verwendung der Vorlage so wie: <tt> <nowiki> ((User: Hersfold / StatusTemplate | Joe's Benutzername | url = Joe% 27s_Username)) </ nowiki> </ tt >.
*'''<tt>url=</tt>''' When specifying a custom username with <tt>1=</tt> as described above, some usernames (those with spaces or special characters) may cause the edit links to display incorrectly or not function. Use this to supply a [[Percent-encoding|URL encoded]] version of the username to correct the problem. Example: [[User:Joe's Username]] would need to use the template like so: <tt><nowiki>{{User:Hersfold/StatusTemplate|Joe's Username|url=Joe%27s_Username}}</nowiki></tt>.


=== === Bekannte Probleme
=== Known issues ===


*'''Benutzernamen mit Leerzeichen:''' Beim Hinzufügen eines benutzerdefinierten Benutzernamen an der Vorlage, müssen Sie die <tt> url = </ tt>-Parameter wie oben zu Leerzeichen mit Unterstrichen (_ ersetzen beschrieben) verwenden, damit für den korrekten Betrieb des Links bearbeiten. Dies sollte nicht notwendig sein, wenn mit dem Standard-Benutzernamen, der die Vorlage ist in der Lage, aus dem Seitentitel abzurufen.
*'''Usernames with spaces:''' When adding a custom username to the template, you will need to use the <tt>url=</tt> parameter as described above to replace spaces with underscores (_) to allow for the correct operation of the edit links. This should not be necessary when using the default username, which the template is able to retrieve from the page title.
*'''Usernamen mit Sonderzeichen:''' Siehe oben. Sonderzeichen müssen mit den entsprechenden Prozent-Code ersetzt werden - eine begrenzte Zahl von ihnen können den Artikel über [[Prozent-encoding]] gefunden werden, andere können auf den Artikel über das Symbol vor allem gefunden werden. Wenn das nicht hilft, versuchen Sie es mit [http://www.motobit.com/util/url-encoder.asp dieser Seite], um Ihren Benutzernamen zu übersetzen. Dies sollte nicht notwendig sein, wenn mit dem Standard-Benutzernamen, welche die Vorlage abrufen können (und übersetzen) aus dem Seitentitel.
*'''Usernames with special characters:''' See above. Special characters must be replaced with their corresponding percent code - a limited number of these can be found at the article on [[Percent-encoding]], some others may be found on the article about that particular symbol. If that doesn't help, try using [http://www.motobit.com/util/url-encoder.asp this site] to translate your username. This should not be necessary when using the default username, which the template is able to retrieve (and translate) from the page title.
*'''Center-Ausrichtung:''' Aufgrund von Einschränkungen der entweder der MediaWiki-Software oder Internet-Browser (nicht sicher), so mit <tt> align = center </ tt> wird das Feld führen, um zentriert werden, sondern wird auch dazu führen, es über die ganze Seite verteilt. Wer die Schuld es ist, ich bin unfähig, dieses Update in der Vorlage. Workarounds existieren, aber sie sind in der Regel etwas kompliziert und die Vorlage wird nicht mehr "schweben" über der Seite, wie sie ist entworfen, um zu tun. Wenn Sie einen solchen Workaround wollen und können es nicht herausfinden dich, lass es mich wissen.
*'''Center alignment:''' Due to limitations of either the MediaWiki software or internet browsers (not sure which), using <tt>align=center</tt> will cause the box to be centered, but will also cause it to spread across the entire page. Whoever's fault it is, I am unable to fix this within the template. Workarounds do exist, but they are generally somewhat complicated and the template will no longer "float" over the page as it is designed to do. If you want such a workaround and can't figure it out yourself, let me know.


</ Noinclude>
</noinclude>

Version vom 10. August 2010, 19:10 Uhr

Nicholas Rush is currently:
Lost.
Check my status Vorlage:Plainlinks for more info.
Update: OnBusyWork/ClassOff

Want to show your status, but aren't willing to trust can't find a working bot to handle it for you? This template provides an easy, one-click way to update your status yourself, so that you're always online immediately after you log in, and offline as soon as you log out. This template is now WP:HAU compatible.

^How to use this template

  1. Create Special:Mypage/Status. You can place any text in here, it doesn't matter; just create it.
  2. Go to your monobook.js file and add importScript('User:Henrik/js/automod.js'); This script is necessary for the automated update links to work. Some other scripts already include this one - don't worry, installing this twice (or more) won't hurt anything.
  3. Clear your browser's cache. The script may not work if you don't.
  4. Add this template where you want to use it, like so: {{User:Hersfold/StatusTemplate}} .
  5. Save the page.
  6. Click one of the three "Update" links. This will automatically update the /Status page you created in Step 1 to something this template can recognize.

^Currently active status types

Update link Sets your status to...
On
Online
Busy
Busy
I may not be actively editing,
but I am around.
Work/Class
At work or in class
I may not be actively editing,
but I am around.
Off
Offline
Anything else
Lost.
Check my status Vorlage:Plainlinks for more info.

Don't see what you want? You can suggest additional statuses to Hersfold. Please note, however, that trivial additions that mean the same thing as something listed above (Such as "In da hood" instead of "Online") will not be added. There is also a practical limit to how many update links can be listed, to avoid making the template too unwieldy.

^Parameters

  • 1= or first unnamed parameter If you want to display another user's status, or you are having trouble with the editing links (see below), enter the custom username (without the User: prefix) to correct the issue. Example: {{User:Hersfold/StatusTemplate|Hersfold non-admin}} This should not be necessary when using this template on one of your own subpages.
  • align={left|center|right} Use this to control where the box is displayed. The template will float to the left by default, however can be made to float right with align=right. Using "center" will cause the box to spread across the page like a banner - see "Known issues" below.
  • irc=y Use this to change "Busy" to "On IRC" - could be useful for those like me who lurk around the IRC channels waiting for something interesting to happen.
  • url= When specifying a custom username with 1= as described above, some usernames (those with spaces or special characters) may cause the edit links to display incorrectly or not function. Use this to supply a URL encoded version of the username to correct the problem. Example: User:Joe's Username would need to use the template like so: {{User:Hersfold/StatusTemplate|Joe's Username|url=Joe%27s_Username}}.

^Known issues

  • Usernames with spaces: When adding a custom username to the template, you will need to use the url= parameter as described above to replace spaces with underscores (_) to allow for the correct operation of the edit links. This should not be necessary when using the default username, which the template is able to retrieve from the page title.
  • Usernames with special characters: See above. Special characters must be replaced with their corresponding percent code - a limited number of these can be found at the article on Percent-encoding, some others may be found on the article about that particular symbol. If that doesn't help, try using this site to translate your username. This should not be necessary when using the default username, which the template is able to retrieve (and translate) from the page title.
  • Center alignment: Due to limitations of either the MediaWiki software or internet browsers (not sure which), using align=center will cause the box to be centered, but will also cause it to spread across the entire page. Whoever's fault it is, I am unable to fix this within the template. Workarounds do exist, but they are generally somewhat complicated and the template will no longer "float" over the page as it is designed to do. If you want such a workaround and can't figure it out yourself, let me know.