DErik's Test Page Renamed

From RCGRS MRT Wiki
Revision as of 09:48, 12 April 2023 by DErik (talk | contribs)
Jump to navigation Jump to search

a heading

this is centered?
This is a test page for DErik.

This text is wrapped in a <span> tag with a CSS style attribute included. The CSS style of "text-align: center;" apparently is not recognized or is ignored or deleted by the wiki software.

The actual full text of the above paragraph is shown below, wrapped in a <nowiki> tag so that you can see all of it. However, the left and right arrow characters around "span" are done with normal HTML escapes, that is wrapped in an "&" and ";" so that they will appear as the proper characters and not be recognized as arrow indicators.

<span style="font-family: Times New Roman; color: green; text-align: center;">This text is wrapped in a &lt;span&gt; tag with a CSS style attribute included. The CSS style of "text-align: center;" apparently is not recognized or is ignored or deleted by the wiki software.</span>


ĤêĂÄ crazy special chars for fun..😃😝


This is another test on a page that is just for that, testing. Using the WYSIWYG editor to just type stuff in...

  • Bullet, lust like it would be
    • tab to get a second indent..

A link? Amazone bold...


A file reference included here. [File:5387.jpg|thumb|100x100px]

That is to a JPG and shown as a thumbnail photo. As to why it shows up well below where the reference is made in this text, I do not yet know, but it appears that it will be placed on the immediate next line, to the far right of the text body, with any following text wrapped around it. You may be able to modify that behavior with CSS styling included in a <span> tag around the reference and/or around the affected text.

For example:

A new div start here

A paragraph

Next paragraph

 left span   right span 

A div starts here: with the pic span here:
and div ends here.


might do the job. Oops, guess not.

And the enclosing div ends here.

To show how some text may be resized: BIG.. is done with <big>BIG..</big> which can be inserted around any selected text by clicking the button above. Similar for the other font sizing and super- and sub-scripting buttons.
BTW: The "No wiki formatting" button above wraps selected text in the <nowiki></nowiki> tag. This results in the included text not being recognized as HTML or as wiki commands.


A subheading (level 2)

Category stuff

Include a YouTube reference

A simple link to a YouTube video: AMTRAK loops Monkey Puzzle. It opens in this browser window. You must use the browser's back button to get back to the wiki page. Or you could open this in a separate tab or window by using the browser's mechanisms, which vary with the browser.
I tried putting in some HTML that embeds the video in this page.
<iframe width="650" height="366" src="https://www.youtube.com/embed/peGN_RN7JgA" title="AMTRAK loops Monkey Puzzle" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
But that didn't work. I think the wiki software won't allow that type of HTML.


th8is is a n edit by eric

In the main body, I (Eric) changed five things.

  • FileUpload to true
  • from: address for password requests (RCGRS_Wiki_Admins@rcgrs.com)
  • from: address for emegency contacts (RCGRS_Wiki_Admins@rcgrs.com)
  • mail when updated (this is why we didn’t get mail earilier in out test!)
  • mail when talk updated (another feature to test..)

DErik here again. I have created another email address that I think we should use instead of the one above. It's nice Eric created those because it's good experience and testing. But for the club, let's use the MRT-SIG@RCGRS.com address to talk to just the MRT SIG Chair (Don Erikstrup) and Co-Chair (Eric Timberlake). To talk to the entire MRT SIG group (of which you may become a part if you wish), please use the MRT-SIG-Members@RCGRS.com address.


Playing with

Section headings with anchor

<div id="Unique anchor name 1">optional text</div>

<span id="Unique anchor name 2">optional text</span>

Rendered block-level and inline, respectively. Doing this would allow for [[#Unique anchor name 1]] on the same page or [[Help:Links#Unique anchor name 1]] on a different page. Omit the "optional text" for an invisible anchor.

Setting an anchor in a section heading

==<span id="Alternate Section Title 1">Some anchor name here?</span>Section heading goes here==

Note the placement. This must be a "span" tag, not a "div". (Such anchors allow sections to be retitled without breaking incoming links.) DErik note: Note that the text line starts with a blank character, not the "==" characters that indicate a section start. Deleting that blank character results in the following:

<span id="Alternate Section Title 1">Some anchor name here?</span>Section heading goes here

Also note that, in both examples above, everything between the double equals sign pairs, that are the wiki markup for a section, is also wrapped in a "nowiki" tag section - that you cannot see without editing this page.


Creating a table with special formatting

The following was copied from the Help:Links help page. Generally, copying a page is not a good idea, but this is just a section of the formatting help, and taken from different parts of that page. So copying is necessary. But I actually copied rather than referenced because I wanted to see what the same stuff would do in my page versus their page. There are differences I have yet to explain. Not sure why the <translate> and other tags are here. They don't show up on the Help:Links page as they get interpreted by the MediaWiki, I assume to do language translation for <translate>, but what <tvar> is for I have no idea. I think <syntaxhighlight> should also be recognized to highlight various [computer programming] language keywords or sections. We may need to include some extension to get these to be properly recognized.

<translate> Name</translate>/<translate> Description</translate> <translate> Syntax</translate> <translate> Result</translate>
<translate> Link to an anchor on the same page</translate> <syntaxhighlight lang="moin">#See also</syntaxhighlight>

<translate> Anchors are provided automatically on [[<tvar name=formatting>Special:MyLanguage/Help:Formatting</tvar>|section headings]] and to the [[<tvar name=1>#top</tvar>|top]] (<tvar name=2>[[#top]]</tvar>) of the page.</translate>

#See also
<translate> Setting an anchor for incoming links</translate> <syntaxhighlight lang=html>
optional text

optional text </syntaxhighlight>

<translate> Rendered block-level and inline, respectively.</translate> <translate> Doing this would allow for [[#Unique anchor name 1]] on the same page or [[DErik's Test Page Renamed#Unique anchor name 1]] on a different page.</translate> <translate> Omit the "optional text" for an invisible anchor.</translate>

<translate> Setting an anchor in a section heading </translate>

<syntaxhighlight lang=html>

Section heading from source page

</syntaxhighlight>

<translate> Note the placement.</translate> <translate> This must be a "span" tag, not a "div".</translate> <translate> (Such anchors allow sections to be retitled without breaking incoming links.)</translate>

<div id="<translate nowrap> Unique anchor name 1</translate>"><translate> optional text</translate>

<span id="<translate nowrap> Unique anchor name 2</translate>"><translate> optional text</translate>

Section heading
<translate> Link to an anchor at another page</translate> <syntaxhighlight lang=moin>Help:Images#Supported media types for images</syntaxhighlight> Help:Images#Supported media types for images
<translate> Link to the current page's talk page</translate> <syntaxhighlight lang=moin>Discussion</syntaxhighlight>

<translate> See also [[<tvar name=page-names>Special:MyLanguage/Help:Magic_words#Page_names</tvar>|Help:Magic words#Page names]]</translate>

Discussion
Template:Anchor<translate> Link to a subpage</translate> <syntaxhighlight lang=moin>/example</syntaxhighlight>

<translate> Shortcut for <tvar name=1><syntaxhighlight lang="moin" inline>/example</syntaxhighlight></tvar>.</translate> <translate> See also <tvar name=1>Template:Ll</tvar>.</translate>

/example
<translate> Link to a subpage without the leading slash</translate> <syntaxhighlight lang=moin>/example/</syntaxhighlight>

<translate> Shortcut for <tvar name=1><syntaxhighlight lang="moin" inline>example</syntaxhighlight></tvar>.</translate>

example
<translate> Link to a subpage of parent page for current page.</translate> <translate> Can only be used on subpages.</translate> <syntaxhighlight lang=moin>[[../example2]]</syntaxhighlight>

<translate> Shortcut for <tvar name=1><syntaxhighlight lang="moin" inline>example2</syntaxhighlight></tvar> if you post the link on <tvar name=2><syntaxhighlight lang="moin" inline>example</syntaxhighlight></tvar> page.</translate>

example2
<translate> Visible link to a category page</translate> <syntaxhighlight lang=moin>Category:Help</syntaxhighlight>

<translate> Without the leading colon the link would not be visible and the page would instead be placed into the category; this is a very common mistake.</translate> <translate> See also <tvar name=1>Template:Ll</tvar>.</translate>

Category:Help
<translate> Visible link to an image or media file</translate>

File:Example.jpg

file label

Media:Example.jpg

file label


<translate> Mailto link</translate>
[mailto:info@example.org email me]
email me
<translate> Mailto named with subject line and body</translate>
[mailto:info@example.org?Subject=URL%20Encoded%20Subject&body=Body%20Text info]
info

Note the table ends here.

some thoughts on page creation

On the main page, in the "create page" input box, type a MEANINGFUL page name in and hit "create page". Be sure to pick a page name that really conveys the subject matter. That's probably obvious, but I mention it because changing the page name is hard to do.

Now you are looking at an empty box with perhaps no clue how to proceed. So just start typing in the box. The default "edit" mode uses a WYSIWYG editor, just type away for now and what you see is how it will look on the web page, for the most part. There are some formatting things, like changing the font style, or making a list, or inserting images that are handled by the tool bar above the text entry area. There are a lot of choices there, but not all choices are covered there. See the https://www.mediawiki.org/wiki/Help:Formatting link to get more details.

Click on the "Save Page.." button and if you want, makes some notes about this editing session. It's TOTALLY COMMON to create pages a piece at a time, and as part of a team with other users!

A visual aid to the process

Eric created an example page which you can visit, edit, and/or join the "DISCUSSION" on it if you have editorial suggestions, but don't want to actually change it.

CLick the following link: This is a tutorial about foobar ..to see the real thing..