Difference between revisions of "Template:WW file"
Jump to navigation
Jump to search
(Created page with '<div align="center"> {| style="border: 1px solid #6666a0; border-collapse: collapse;" cellpadding="5" cellspacing="0" |- style="text-align: center; font-size: 110%; background-co…') |
|||
Line 1: | Line 1: | ||
− | <div align=" |
+ | <div align="right"> |
{| style="border: 1px solid #6666a0; border-collapse: collapse;" cellpadding="5" cellspacing="0" |
{| style="border: 1px solid #6666a0; border-collapse: collapse;" cellpadding="5" cellspacing="0" |
||
|- style="text-align: center; font-size: 110%; background-color: #ffcc99; border-bottom: 1px solid #6666a0;" |
|- style="text-align: center; font-size: 110%; background-color: #ffcc99; border-bottom: 1px solid #6666a0;" |
||
Line 9: | Line 9: | ||
[[viewvc:/system/tags/rel-2-4-9-1/{{{2}}}{{{1}}}|rel-2.4.9.1]] • |
[[viewvc:/system/tags/rel-2-4-9-1/{{{2}}}{{{1}}}|rel-2.4.9.1]] • |
||
|} |
|} |
||
− | |||
+ | </div> |
||
<noinclude> |
<noinclude> |
||
== Usage == |
== Usage == |
||
− | <nowiki>{{WW file|FILENAME|PATH |
+ | <nowiki>{{WW file|FILENAME|PATH|NotInSVN=REASON}}</nowiki> |
* FILENAME is the name of the file, including extension. |
* FILENAME is the name of the file, including extension. |
Revision as of 12:38, 17 April 2011
WeBWorK File: {{{1}}} | |
---|---|
Location: | {{{2}}} |
Source code: | Not in SVN ({{{NotInSVN}}})|[[viewvc:/system/trunk/{{{2}}}{{{1}}}|HEAD]]
[[viewvc:/system/tags/rel-2-4-9-1/{{{2}}}{{{1}}}|rel-2.4.9.1]] • |
Usage
{{WW file|FILENAME|PATH|NotInSVN=REASON}}
- FILENAME is the name of the file, including extension.
- PATH is the path to the file including leading & trailing slashes.
- The NotInSVN argument is optional and should only be used if the file is not in SVN. REASON is the reason that is displayed in the infobox. Note that 'NotInSVN' is case sensitive!
Be careful not to include spaces on either side of the PATH/FILE parameters.
Examples
{{WW file|global.conf.dist|/webwork2/conf/}}
WeBWorK File: global.conf.dist | |
---|---|
Location: | /webwork2/conf/ |
Source code: | Not in SVN ({{{NotInSVN}}})|HEAD |