Templates: Difference between revisions

From Q
Jump to navigation Jump to search
No edit summary
No edit summary
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== Seitenformatierung ==
* [[Template:File]] for file content.
* [[Template:Code]] for code.
* [[Template:Kernel]] for kernel configuration.


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


<table border="1" cellpadding="2" width="100%" cellspacing="0">
* [[Template:Command]] for user commands.
<tr>
* [[Template:Root]] for root commands.
<th>Wie es aussieht</th>
* [[Template:Warning]] for warnings.
<th>Was man eingibt</th>
* [[Template:Note]] for notes.
</tr>


<tr>
<td>[[Template:Codeline]]
{{Codeline|# Shell Befehl}}
</td>
<td>
<nowiki>
{{Codeline|# Shell Befehl}}
</nowiki>
</td>
</tr>


<tr>
* [[Template:USEFlag]] for USE flags.
<td>[[Template:Filename]]
** [[Template:EnableFlag]] Enable Flag
{{Filename|/pfad/zur/datei}}
** [[Template:DisableFlag]] Disable Flag
</td>
* [[Template:Codeline]] for inline commands or code.
<td>
* [[Template:Keyword]] for (architecture) keywords.
<nowiki>
* [[Template:Path]] for file paths.
{{Filename|/pfad/zur/datei}}
* [[Template:Package]] for package names.
</nowiki>
* [[Template:Key]] for keystrokes.
</td>
</tr>


<tr>
* [[Template:Mainpage Articles]] News block on the main page.
<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>
== News formatting ==
<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>


<table border="1" cellpadding="2" width="100%" cellspacing="0">
<tr>
<tr>
<td>[[Template:Box Kernel]]
<th>How it looks</th>
{{Box Kernel|Bezeichnung des Kernelabschnitts|
<th>What you type</th>
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>


<tr>
<tr>
<td>[[Template:Infobox_Software]]
<td>[[Template:New]]
  {{Infobox_Software|
  {{new}} A new article.
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>
<td>
<td>
  <nowiki>
  <nowiki>
  {{Infobox_Software|
  {{new}} A new article.
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>
  </nowiki>
</td>
</td>
Line 121: Line 41:


<tr>
<tr>
<td>[[Template:Box Note]]
<td>[[Template:Improved]]
  {{Box Note|Das ist eine Notiz.}}</td>
  {{improved}} An article has been improved.
<td>
<nowiki>
{{Box Note|Das ist eine Notiz.}}
</nowiki>
</td>
</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>
<td>
  <nowiki>
  <nowiki>
  {{Box Tip|Das ist ein hilfreicher Tip.}}
  {{improved}} An article has been improved.
  </nowiki>
  </nowiki>
</td>
</td>
Line 151: Line 52:


<tr>
<tr>
<td>[[Template:Package]]
<td>[[Template:Reworked]]
  Dazu muss natürlich {{Package|kde-base/kdebase-meta}} installiert sein.
  {{reworked}} An article has been rewritten.
</td>
</td>
<td>
<td>
  <nowiki>
  <nowiki>
  Dazu muss natürlich {{Package|kde-base/kdebase-meta}} installiert sein.
  {{reworked}} An article has been rewritten.
  </nowiki>
  </nowiki>
</td>
</td>
Line 162: Line 63:


<tr>
<tr>
<td>[[Template:Useflag]]
<td>[[Template:Finished]]
  Dazu muss das {{Useflag|unicode}} Use-Flag aktiviert sein.
  {{finished}} An article has been finished.
</td>
</td>
<td>
<td>
  <nowiki>
  <nowiki>
  Dazu muss das {{Useflag|unicode}} Use-Flag aktiviert sein.
  {{finished}} An article has been finished.
  </nowiki>
  </nowiki>
</td>
</td>
Line 173: Line 74:


<tr>
<tr>
<td>[[Template:New]]
<td>[[Template:Info]]
  {{new}} Ein neu hinzugekommener Artikel.
  {{info}} General information.
</td>
</td>
<td>
<td>
  <nowiki>
  <nowiki>
  {{new}} Ein neu hinzugekommener Artikel.
  {{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.