bannerd

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

Source Code

| 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}{div:style=width:500px;word-wrap:break-word;}{report-on:injected=true}{html}<a href="%data:Link%" target="_blank">%data:Link > first 600%</a>{html}{report-on}{div}{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} | | Citation \\ {small}This contains additional information, which will appear after the title, separated by a comma{small} | {text-data:Citation|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], Citation where: * Title = Title * Link = http://www.nasa.gov * Citation = Citation


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

Usage

  1. Each SWEREF page starts with a Live Template macro. The Live Template macro has one parameter - template. The parameter is set to a value of "reference". 
  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. Citation - is a text field for listing a citation for the reference. Values include, Author, publisher, significant dates, and other important information
    5. Notes - is a field with other data about the reference

Other SWEREF Features

Change History

This block of information is added to a SWEREF page below the Live template. It contains the data on recent changes to the reference such as: 

  • Last date on which the page was verified
  • Last date on which the reference was updated
  • Other significant changes to the reference

Quotes used in SWEs and Topics

When quotes are used in a SWEHB page, the quote is put directly into the page. See 

  • No labels