Difference between revisions of "Template:WW file"

From WeBWorK_wiki
Jump to navigation Jump to search
 
Line 6: Line 6:
 
| '''Location:''' || {{{2}}}
 
| '''Location:''' || {{{2}}}
 
|- valign="top"
 
|- valign="top"
| '''Source code:''' || {{#if: {{{NotInSVN|}}}|Not in SVN ({{{NotInSVN}}})|• [[viewvc:system/trunk/{{{2}}}{{{1}}}|HEAD]] ([[wwpod:webwork2_TRUNK/{{{2}}}{{{1}}}|pod]])
+
| '''Source code:''' || {{#if: {{{NotInSVN|}}}|Not in SVN ({{{NotInSVN}}})|• [[viewvc:system/trunk/{{{2}}}{{{1}}}|HEAD]] ([[wwpod:webwork2_TRUNK/{{{2}}}{{{1}}}.html|pod]])
• [[viewvc:system/tags/rel-2-4-9-1/{{{2}}}{{{1}}}|rel-2.4.9.1]] ([[wwpod:webwork2_rel-2-4-9-1/{{{2}}}{{{1}}}|pod]]) }}
+
• [[viewvc:system/tags/rel-2-4-9-1/{{{2}}}{{{1}}}|rel-2.4.9.1]] ([[wwpod:webwork2_rel-2-4-9-1/{{{2}}}{{{1}}}.html|pod]]) }}
 
|}
 
|}
 
</div>
 
</div>

Latest revision as of 14:24, 17 April 2011

WeBWorK File: {{{1}}}
Location: {{{2}}}
Source code: • [[viewvc:system/trunk/{{{2}}}{{{1}}}|HEAD]] ([[wwpod:webwork2_TRUNK/{{{2}}}{{{1}}}.html|pod]])

• [[viewvc:system/tags/rel-2-4-9-1/{{{2}}}{{{1}}}|rel-2.4.9.1]] ([[wwpod:webwork2_rel-2-4-9-1/{{{2}}}{{{1}}}.html|pod]])

Usage

{{WW file|FILENAME|PATH|NotInSVN=REASON}}
  • FILENAME is the name of the file, including extension.
  • PATH is the path to the file including trailing slashes, but not leading 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: HEAD (pod)

rel-2.4.9.1 (pod)