Template:DepotBrief
From PDWiki
The DepotBrief template provides a link to any Public Depot location, automatically using the specific file or directory name as the link text. It automatically attempts to detect whether the path is a single file or a directory based on the format, and will create either a WebKeeper or P4Web link as appropriate.
Usage
{{DepotBrief|depot path}}
The depot path is a file or directory in the Perforce Public Depot (public.perforce.com:1666). Directories may be specified with a trailing "/" or a "/...". The link text will be normalized to a single directory name with a trailing "/" in either case.
Examples
{{ DepotBrief | //public/jam/src/ }}
produces src/
{{ DepotBrief | //public/jam/src/... }}
produces src/
{{ DepotBrief | //public/jam/src/execunix.c }}
produces execunix.c
See also:
