Templates: Difference between revisions

From Q
Jump to navigation Jump to search
Tgurr (talk | contribs)
No edit summary
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 10: Line 10:




* [[Template:USEFlag]] for USE flags
* [[Template:USEFlag]] for USE flags.
** [[Template:EnableFlag]] Enable Flag
** [[Template:EnableFlag]] Enable Flag
** [[Template:DisableFlag]] Disable Flag
** [[Template:DisableFlag]] Disable Flag
* [[Template:Codeline]] for inline commands or code
* [[Template:Codeline]] for inline commands or code.
* [[Template:Keyword]] for (architecture) keywords.
* [[Template:Keyword]] for (architecture) keywords.
* [[Template:Path]] for file paths.
* [[Template:Path]] for file paths.
* [[Template:Package]] for package names.
* [[Template:Package]] for package names.
* [[Template:Key]] for keystrokes
* [[Template:Key]] for keystrokes.


== Seitenformatierung ==
* [[Template:Mainpage Articles]] News block on the main page.
* Delete Template: Codeline, now Commandline


Hier werden Templates gelistet die eine kleine Hilfestellung zum Formatieren der Beiträge darstellen sollen.
== News formatting ==


<table border="1" cellpadding="2" width="100%" cellspacing="0">
<table border="1" cellpadding="2" width="100%" cellspacing="0">
<tr>
<tr>
<th>Wie es aussieht</th>
<th>How it looks</th>
<th>Was man eingibt</th>
<th>What you type</th>
</tr>
 
<tr>
<td>[[Template:Commandline]]
{{Commandline|your command here}}
</td>
<td>
<nowiki>
{{Commandline|your command here}}
</nowiki>
</td>
</tr>
 
<tr>
<td>[[Template:Root_Prompt]]
{|
{{Root_Prompt|machine|whoami}}
|-
|colspan=2|or
{{Root_Prompt|machine|whoami|ON}}
|}
</td>
<td>
<pre><nowiki>
{|
{{Root_Prompt|machine|whoami}}
|-
|colspan=2|or
{{Root_Prompt|machine|whoami|ON}}
|}
</nowiki></pre>
</td>
</tr>
<tr><td colspan=2 align=center>see [[Template:Root_Prompt]] for '''extend info'''</td></tr>
<tr><td colspan=2 align=center><hr width=75%></td></tr>
 
<tr>
<td>[[Template:Filename]]
{{Filename|/pfad/zur/datei}}
</td>
<td>
<nowiki>
{{Filename|/pfad/zur/datei}}
</nowiki>
</td>
</tr>
 
<tr>
<td>[[Template:Box Code]]
{{Box Code|Bezeichnung|
Code
Mehr Code
Noch mehr Code
}}</td>
<td>
<nowiki>
{{Box Code|Bezeichnung|
  Code
  Mehr Code
  Noch mehr Code
}}
</nowiki>
</td>
</tr>
 
<tr>
<td>[[Template:Box File]]
{{Box File|Dateiname|
Inhalt
Mehr Inhalt
Noch mehr Inhalt
}}</td>
<td>
<nowiki>
{{Box File|Dateiname|
  Inhalt
  Mehr Inhalt
  Noch mehr Inhalt
}}
</nowiki>
</td>
</tr>
 
<tr>
<td>[[Template:Box Kernel]]
{{Box Kernel|Bezeichnung des Kernelabschnitts|
Code maturity level options  --->
General setup  --->
Loadable module support  --->
Processor type and features  --->
Power management options (ACPI, APM)  --->
}}</td>
<td><pre><nowiki>{{Box Kernel|Bezeichnung des Kernelabschnitts|
Code maturity level options  --->
General setup  --->
Loadable module support  --->
Processor type and features  --->
Power management options (ACPI, APM)  --->
}}</nowiki></pre></td>
</tr>
 
<tr>
<td>[[Template:Infobox_Software]]
{{Infobox_Software|
Name= Ein Programm
|Screenshot= [[Bild:einbild.png|250px]]
|Beschreibung= Bildschirmphoto von Programm 1.3.5
|Hersteller= Testhersteller
|AktuelleVersion= 1.3.5
|AktuelleVersionFreigabeDatum= 30. Oktober 2005
|Betriebssystem= Linux/Unix
|Kategorie= Sound|QT
|Lizenz= GNU General Public License|GPL
|Deutsch= ja
|Website= http://programm.test.de
}}
</td>
<td>
<nowiki>
{{Infobox_Software|
Name= Ein Programm
|Screenshot= [[Bild:einbild.png|250px]]
|Beschreibung= Bildschirmphoto von Programm 1.3.5
|Hersteller= Testhersteller
|AktuelleVersion= 1.3.5
|AktuelleVersionFreigabeDatum= 30. Oktober 2005
|Betriebssystem= Linux/Unix
|Kategorie= Sound|QT
|Lizenz= GNU General Public License|GPL
|Deutsch= ja
|Website= http://programm.test.de
}}
</nowiki>
</td>
</tr>
 
<tr>
<td>[[Template:Box Note]]
{{Box Note|Das ist eine Notiz.}}</td>
<td>
<nowiki>
{{Box Note|Das ist eine Notiz.}}
</nowiki>
</td>
</tr>
 
<tr>
<td>[[Template:Box Warning]]
{{Box Warning|Das ist eine Warnung.}}</td>
<td>
<nowiki>
{{Box Warning|Das ist eine Warnung.}}
</nowiki>
</td>
</tr>
 
<tr>
<td>[[Template:Box Tip]]
{{Box Tip|Das ist ein hilfreicher Tip.}}</td>
<td>
<nowiki>
{{Box Tip|Das ist ein hilfreicher Tip.}}
</nowiki>
</td>
</tr>
 
<tr>
<td>[[Template:Package]]
Dazu muss natürlich {{Package|kde-base/kdebase-meta}} installiert sein.
</td>
<td>
<nowiki>
Dazu muss natürlich {{Package|kde-base/kdebase-meta}} installiert sein.
</nowiki>
</td>
</tr>
 
<tr>
<td>[[Template:Useflag]]
Dazu muss das {{Useflag|unicode}} Use-Flag aktiviert sein.
</td>
<td>
<nowiki>
Dazu muss das {{Useflag|unicode}} Use-Flag aktiviert sein.
</nowiki>
</td>
</tr>
</tr>


<tr>
<tr>
<td>[[Template:New]]
<td>[[Template:New]]
  {{new}} Ein neu hinzugekommener Artikel.
  {{new}} A new article.
</td>
</td>
<td>
<td>
  <nowiki>
  <nowiki>
  {{new}} Ein neu hinzugekommener Artikel.
  {{new}} A new article.
  </nowiki>
  </nowiki>
</td>
</td>
Line 229: Line 42:
<tr>
<tr>
<td>[[Template:Improved]]
<td>[[Template:Improved]]
  {{improved}} Ein bereits vorhandener Artikel wurde verbessert.
  {{improved}} An article has been improved.
</td>
</td>
<td>
<td>
  <nowiki>
  <nowiki>
  {{improved}} Ein bereits vorhandener Artikel wurde verbessert.
  {{improved}} An article has been improved.
  </nowiki>
  </nowiki>
</td>
</td>
Line 240: Line 53:
<tr>
<tr>
<td>[[Template:Reworked]]
<td>[[Template:Reworked]]
  {{reworked}} Ein bereits vorhandener Artikel wurde neu geschrieben.
  {{reworked}} An article has been rewritten.
</td>
</td>
<td>
<td>
  <nowiki>
  <nowiki>
  {{reworked}} Ein bereits vorhandener Artikel wurde neu geschrieben.
  {{reworked}} An article has been rewritten.
  </nowiki>
  </nowiki>
</td>
</td>
Line 251: Line 64:
<tr>
<tr>
<td>[[Template:Finished]]
<td>[[Template:Finished]]
  {{finished}} Ein Artikel wurde fertig gestellt.
  {{finished}} An article has been finished.
</td>
</td>
<td>
<td>
  <nowiki>
  <nowiki>
  {{finished}} Ein Artikel wurde fertig gestellt.
  {{finished}} An article has been finished.
  </nowiki>
  </nowiki>
</td>
</td>
Line 262: Line 75:
<tr>
<tr>
<td>[[Template:Info]]
<td>[[Template:Info]]
  {{info}} Eine allgemeine Information.
  {{info}} General information.
</td>
</td>
<td>
<td>
  <nowiki>
  <nowiki>
  {{info}} Eine allgemeine Information.
  {{info}} General information.
  </nowiki>
  </nowiki>
</td>
</td>
</tr>
</tr>
</table>
</table>

Latest revision as of 14:34, 27 July 2011



News formatting

How it looks What you type
Template:New
New A new article.
 {{new}} A new article.
 
Template:Improved
Improved An article has been improved.
 {{improved}} An article has been improved.
 
Template:Reworked
Reworked An article has been rewritten.
 {{reworked}} An article has been rewritten.
 
Template:Finished
Finished An article has been finished.
 {{finished}} An article has been finished.
 
Template:Info
Information General information.
 {{info}} General information.