bannerd

reference is a template for defining the parameters of a PAT page

Source Code

{show-if:action=view}{info}[Click here to return to the PAT Database|PAT Database]{info} {show-if} | Link \\ {small}Leave blank if none exists{small} | {show-if:action=edit}{text-data:Link|width=600px|height=100px|type=area}{text-data}{show-if}{show-if:action=view}{report-on:injected=true}{html}<a href="%data:Link%" target="_blank">%data:Link > first 600%</a>{html}{report-on}{show-if} | | Title \\ {small}This is the text which will be hyperlinked, if a link exists{small} | {text-data:Title|width=600px|height=100px|type=area}{text-data} | | SWE or Topic | {show-if:action=edit}{color:red}Formatting: \\ For SWE, use SWE-xxx \\ For Topic, use Topic 7.xx{color} \\ {show-if}{text-data:SWE|width=600px|height=100px|type=area}{text-data} | | Origin \\ {small}This contains additional information, which will appear after the title, separated by a comma{small} | {text-data:Origin|width=600px|height=100px|type=area}{text-data} | | Notes \\ {small}More specific directions where to look in the resource for relevant content{small} | {text-data:Notes|width=600px|height=100px|type=area}{text-data} | Example Reference as it will appear to end user: # [Title|http://www.nasa.gov], Origin where: * Title = Title * Link = http://www.nasa.gov * Origin= Origin


==========================

Usage

  1. Each PAT page starts with a Live Template macro. The Live Template macro has one parameter - template. The parameter is set to a value of "pat". 
  2. When the page is viewed, the template executes and data values are called into the template from those created in the page. 
    1. Link - is the URL of the reference source. This can be a NASA site or any Internet site. 
    2. Title - is the title of the reference document 
    3. SWE - Displays as "Swe or Topic". It is a list of page codes for SWE pages, Topic pages, Intro or other page with a page code. 
    4. Origin - is a text field for listing a Origin for the asset. Values include, page code (Topic 9.99, SWE-999), location within the page (tab and subsection). 
    5. Notes - is a field with other data about the asset


  • No labels