Edgewall Software

Changes between Version 19 and Version 20 of 0.12/WikiFormatting


Ignore:
Timestamp:
Apr 10, 2010, 3:12:22 PM (14 years ago)
Author:
Christian Boos
Comment:

add examples of WikiCreole #Links and warn about possible ambiguity with #Macros

Legend:

Unmodified
Added
Removed
Modified
  • 0.12/WikiFormatting

    v19 v20  
    153153|| WikiFormatting (CamelCase) ||
    154154|-----------------------------------------------------------
    155 {{{#!th rowspan=3
     155{{{#!th rowspan=5
    156156[#TracLinks TracLinks]
    157157}}}
     
    162162|| `ticket:1, ticket:1#comment:1` ||\
    163163|| ticket:1, ticket:1#comment:1 ||
     164|| `Ticket [ticket:1]`, `[ticket:1 ticket one]` ||\
     165|| Ticket [ticket:1], [ticket:1 ticket one] ||
     166|| `Ticket [[ticket:1]]`, `[[ticket:1|ticket one]]` ||\
     167|| Ticket [[ticket:1]], [[ticket:1|ticket one]] ||
    164168|-----------------------------------------------------------
    165169{{{#!th rowspan=2
     
    585589}}}
    586590
    587 Links can be given a more descriptive title by writing the link followed by a space and a title and all this inside square brackets.  If the descriptive title is omitted, then the explicit prefix is discarded, unless the link is an external link. This can be useful for wiki pages not adhering to the WikiPageNames convention.
    588 
    589 ||= Wiki Markup =||= Display =||
    590 {{{#!td
    591   {{{
    592    * [http://www.edgewall.com/ Edgewall Software]
    593    * [wiki:TitleIndex Title Index]
     591Links can be given a more descriptive title by writing the link followed by a space and a title and all this inside square brackets.
     592If the descriptive title is omitted, then the explicit prefix is discarded, unless the link is an external link. This can be useful for wiki pages not adhering to the WikiPageNames convention.
     593
     594||= Wiki Markup =||= Display =||
     595{{{#!td
     596  {{{
     597   * [http://www.edgewall.com Edgewall Software]
     598   * [wiki:TitleIndex Title Index]
     599   * [wiki:TitleIndex]
    594600   * [wiki:ISO9000]
    595601  }}}
    596602}}}
    597603{{{#!td
    598  * [http://www.edgewall.com/ Edgewall Software]
    599  * [wiki:TitleIndex Title Index]
    600  * [wiki:ISO9000]
    601 }}}
     604   * [http://www.edgewall.com Edgewall Software]
     605   * [wiki:TitleIndex Title Index]
     606   * [wiki:TitleIndex]
     607   * [wiki:ISO9000]
     608}}}
     609
     610Following the [trac:WikiCreole] trend, the descriptive title can also be specified by writing the link followed by a pipe ('|') and a title and all this inside //double// square brackets.
     611
     612{{{#!td
     613  {{{
     614   * [[http://www.edgewall.com|Edgewall Software]]
     615   * [[wiki:TitleIndex|Title Index]]
     616     or even [[TitleIndex|Title Index]]
     617   * [[wiki:TitleIndex]]
     618     ''' but not ![[TitleIndex]]! '''
     619   * [[ISO9000]]
     620  }}}
     621}}}
     622{{{#!td
     623   * [[http://www.edgewall.com|Edgewall Software]]
     624   * [[wiki:TitleIndex|Title Index]]
     625     or even [[TitleIndex|Title Index]]
     626   * [[wiki:TitleIndex]]
     627     ''' but not ![[TitleIndex]]! '''
     628   * [[ISO9000]]
     629}}}
     630
     631'''Note''': the [trac:WikiCreole] style for links is quick to type and
     632certainly looks familiar as it's the one used on Wikipedia and in many
     633other wikis. Unfortunately it conflicts with the syntax for [#Macros macros].
     634So in the rare case when you need to refer to a page which is named after
     635a macro (typical examples being TitleIndex, InterTrac and InterWiki),
     636by writing `[[TitleIndex]]` you will actually call the macro instead of linking
     637to the page.
    602638
    603639== Trac Links ==
     
    612648   * Changesets: r1, [1] or changeset:1
    613649   * ...
     650   * targeting other Trac instances,
     651     so called InterTrac links:
     652     - Tickets: #Trac1 or Trac:ticket:1
     653     - Changesets: [Trac1] or Trac:changeset:1
    614654  }}}
    615655}}}
     
    619659 * Changesets: r1, [1] or changeset:1
    620660 * ...
    621 }}}
    622 
    623 There are many more flavors of Trac links, see TracLinks for more in-depth information.
     661 * targeting other Trac instances,
     662   so called InterTrac links:
     663   - Tickets: #Trac1 or Trac:ticket:1
     664   - Changesets: [Trac1] or Trac:changeset:1
     665}}}
     666
     667There are many more flavors of Trac links, see TracLinks for more in-depth information and a reference for all the default link resolvers.
    624668
    625669