Vorlage:Project Info: Unterschied zwischen den Versionen

Aus C3D2
Zur Navigation springen Zur Suche springen
Keine Bearbeitungszusammenfassung
(float-right + form)
(5 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
<noinclude>
{{Project Info|
Name=Project Info Demo|
About=just a demo|
Home=https://wiki.c3d2.de/Vorlage:Project_Info|
Lang=Ruby,C|
Platforms=Unix|
Source=http://google.com/codesearch|
Documentation=http://tldp.org|
Tracker=http://trac.c3d2.de|
Mailing_List=http://mail.skyhub.de|
Muc_Room=project|
Muc_Service=pentabarf.org|
Repository_type=SVN|
Repository=file:///var/svn/cool_project|
}}
Code um dieses Template zu benutzen:
<pre>
{{Project Info|
Name=Project Info Demo|
About=just a demo|
Home=https://wiki.c3d2.de/Vorlage:Project_Info|
Lang=Ruby,C|
Platforms=Unix|
Source=http://google.com/codesearch|
Documentation=http://tldp.org|
Tracker=http://trac.c3d2.de|
Mailing_List=http://mail.skyhub.de|
Irc_Net=spaceboyz.net|
Irc_Chan=project|
Silc_Net=silc.dresden.ccc.de|
Silc_Chan=project|
Muc_Room=project|
Muc_Service=pentabarf.org|
Repository_type=SVN|
Repository=file:///var/svn/cool_project|
}}
</pre>
</noinclude>
<includeonly>
<includeonly>


<table border="0" cellpadding="3" cellspacing="1"  bgcolor="#FFDEAD" width="320px" align="right" style="background:white; border: 1px solid #dddddd; margin: 0 0 1em 1em; background-color: ">
<table border="0" cellpadding="3" cellspacing="1"  bgcolor="#FFDEAD" width="320px" align="right" style="float:right; background:white; border: 1px solid #dddddd; margin: 0 0 1em 1em; background-color: ">
<tr>
  <tr><th colspan="2" style="color:white; background-color:#444444">{{{Name|{{PAGENAME}}}}}</th></tr>
<th colspan="2" style="color:white; background-color:#444444">{{{Name|{{PAGENAME}}}}}</th>
  <tr><td colspan="2" align="center" style="font-size: small">{{{About|}}}</td></tr>
</tr>
  <tr>
<tr>
    <td>Home:</td>
<td colspan="2" align="center" style="font-size: small">{{{About|}}}</td>
    <td>{{{Home|https://wiki.c3d2.de/{{PAGENAME}}}}}</td>
</tr>
  </tr>
<tr>
<td>Home:</td>
<td>{{{Home|https://wiki.c3d2.de/{{PAGENAME}}}}}</td>
</tr>


   <tr><th colspan="2" bgcolor="#cccccc">Meta</th></tr>
   <tr><th colspan="2" bgcolor="#cccccc">Meta</th></tr>
Zeile 63: Zeile 13:
   <tr><td>Plattformen:</td><td>{{{Platforms|Beliebig}}}</td></tr>
   <tr><td>Plattformen:</td><td>{{{Platforms|Beliebig}}}</td></tr>


{{#if: {{{Source|}}}{{{Documentation|}}}{{{Tracker|}}} |
{{#if: {{{Source|}}}{{{Documentation|}}}{{{Tracker|}}}|
   <tr><th colspan="2" bgcolor="#cccccc">Links</th></tr>
   <tr><th colspan="2" bgcolor="#cccccc">Links</th></tr>
   <tr><td colspan="2">
   <tr><td colspan="2">
Zeile 72: Zeile 22:
   </ul>
   </ul>
   </td>
   </td>
  </tr>
}}
{{#if: {{{Mailing_List|}}}{{{Irc_Net|}}}{{{Silc_Net|}}}{{{Muc_Room|}}}|
  <tr><th colspan="2" bgcolor="#cccccc">Kommunikation</th></tr>
{{#if: {{{Mailing_List|}}}|
  <tr><td>Mailing-Liste:</td><td>{{{Mailing_List}}}</td></tr>
}}
{{#if: {{{Irc_Net|}}}|
  <tr><td>IRC:</td><td>{{#if: {{{Irc_Net|}}} | [irc://{{{Irc_Net}}}/{{{Irc_Chan}}} {{{Irc_Chan}}} auf {{{Irc_Net}}}]}}</td></tr>
}}
}}
  </tr>


<tr {{#if: {{{Mailing_List|}}}{{{Irc_Net|}}}{{{Silc_Net|}}}{{{Muc_Room|}}} | | style="display:none"}}>
{{#if: {{{Silc_Net|}}}|
<th colspan="2" bgcolor="#cccccc">Kommunikation</th>
<tr><td>SILC:</td><td>{{#if: {{{Silc_Net|}}} | [silc://{{{Silc_Net}}}/{{{Silc_Chan}}} {{{Silc_Chan}}} auf {{{Silc_Net}}}]}}</td>
</tr>
<tr{{#if: {{{Mailing_List|}}}|| style="display:none"}}>
<td>Mailing-Liste:</td><td>{{{Mailing_List}}}</td>
</tr>
</tr>
}}
{{#if: {{{Muc_Room|}}}|
  <tr><td>MUC:</td><td>{{#if: {{{Muc_Room|}}} | [xmpp:{{{Muc_Room}}}@{{{Muc_Service}}} {{{Muc_Room}}} auf {{{Muc_Service}}}]}}</td></tr>
}}


<tr style="{{#if: {{{Irc_Net|}}}||display:none}}">
}}
<td>IRC:</td><td>{{#if: {{{Irc_Net|}}} | [irc://{{{Irc_Net}}}/{{{Irc_Chan}}} {{{Irc_Chan}}} auf {{{Irc_Net}}}]}}</td>
</tr>
<tr style="{{#if: {{{Silc_Net|}}}||display:none}}">
<td>SILC:</td><td>{{#if: {{{Silc_Net|}}} | [silc://{{{Silc_Net}}}/{{{Silc_Chan}}} {{{Silc_Chan}}} auf {{{Silc_Net}}}]}}</td>
</tr>
<tr style="{{#if: {{{Muc_Room|}}}||display:none}}">
<td>MUC:</td><td>{{#if: {{{Muc_Room|}}} | [xmpp:{{{Muc_Room}}}@{{{Muc_Service}}} {{{Muc_Room}}} auf {{{Muc_Service}}}]}}</td>
</tr>


{{#if: {{{Repository_type|}}}{{{Repository|}}}|
{{#if: {{{Repository_type|}}}{{{Repository|}}}|
Zeile 99: Zeile 54:
</table>
</table>
</includeonly>
</includeonly>
<noinclude>
== Beschreibung ==
== Beispiel ==
<pre>
{{Project Info
| Name=Project Info Demo
| About=just a demo
| Home=https://wiki.c3d2.de/Vorlage:Project_Info
| Lang=Ruby,C
| Platforms=Unix
| Source=http://google.com/codesearch
| Documentation=http://tldp.org
| Tracker=http://trac.c3d2.de
| Mailing_List=http://mail.skyhub.de
| Irc_Net=spaceboyz.net
| Irc_Chan=project
| Silc_Net=silc.dresden.ccc.de
| Silc_Chan=project
| Muc_Room=project
| Muc_Service=pentabarf.org
| Repository_type=SVN
| Repository=file:///var/svn/cool_project
}}
</pre>
== Ergebnis ==
{{Project Info
| Name=Project Info Demo
| About=just a demo
| Home=https://wiki.c3d2.de/Vorlage:Project_Info|
| Lang=Ruby,C
| Platforms=Unix
| Source=http://google.com/codesearch
| Documentation=http://tldp.org
| Tracker=http://trac.c3d2.de
| Mailing_List=http://mail.skyhub.de
| Muc_Room=project
| Muc_Service=pentabarf.org
| Repository_type=SVN
| Repository=file:///var/svn/cool_project
}}
[[Kategorie:Projekt]]
</noinclude>

Version vom 1. Juli 2014, 15:03 Uhr


Beschreibung

Beispiel

{{Project Info
| Name=Project Info Demo
| About=just a demo
| Home=https://wiki.c3d2.de/Vorlage:Project_Info
| Lang=Ruby,C
| Platforms=Unix
| Source=http://google.com/codesearch
| Documentation=http://tldp.org
| Tracker=http://trac.c3d2.de
| Mailing_List=http://mail.skyhub.de
| Irc_Net=spaceboyz.net
| Irc_Chan=project
| Silc_Net=silc.dresden.ccc.de
| Silc_Chan=project
| Muc_Room=project
| Muc_Service=pentabarf.org
| Repository_type=SVN
| Repository=file:///var/svn/cool_project
}}

Ergebnis



Project Info Demo
just a demo
Home: https://wiki.c3d2.de/Vorlage:Project_Info
Meta
Sprachen:Ruby,C
Plattformen:Unix
Links
Kommunikation
Mailing-Liste:http://mail.skyhub.de
MUC:project auf pentabarf.org
Repository
SVN:file:///var/svn/cool_project