DErik's Test Page Renamed: Difference between revisions

From RCGRS MRT Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 12: Line 12:


__TOC__
__TOC__
----
==References and Footnotes==
ĤêĂÄ  crazy special chars for fun..😃😝
Inserting a reference: <ref>Some reference here</ref> Does not work right.


<references />


This is another test on a page that is just for that, testing.  Using the WYSIWYG editor to just type stuff in...  
Trying it is WYSIWG editor: <nowiki><ref>Really does not work</ref></nowiki> Leave the HTML alone (wraps in nowiki tag).  


*Bullet, lust like it would be
<nowiki><references /></nowiki>
**tab to get a second indent..
Let's try using a cite tag:
 
{{cite}} <nowiki>{{cite}}</nowiki> Does not help either:
----
<cite>Some citation</cite> <br>
A link?  [https://amazon.com Amazone]  '''bold...'''
I need to do a lot more research in this.
----
----
A file reference included here. [File:5387.jpg|thumb|100x100px] [[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 <nowiki><span></nowiki> tag around the reference and/or around the affected text.<br>
A file reference included here. [File:5387.jpg|thumb|100x100px] [[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 <nowiki><span></nowiki> tag around the reference and/or around the affected text.<br>
Line 37: Line 38:
And the enclosing div ends here.</div>
And the enclosing div ends here.</div>
----
----
To show how some text may be resized: <big>BIG..</big> is done with <nowiki><big>BIG..</big></nowiki> 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.<br>
The "No wiki formatting" button in the toolbar above wraps selected text in the <nowiki>&lt;nowiki&gt;</nowiki>&lt;/nowiki&gt; tag. This results in the included text not being recognized as wiki commands. And I think not as HTML in some cases either. Still experimenting with that.
BTW: The "No wiki formatting" button above wraps selected text in the <nowiki>&lt;nowiki&gt;</nowiki>&lt;/nowiki&gt; tag. This results in the included text not being recognized as HTML or as wiki commands.
----
----
==A subheading (level 2)==
==A subheading (level 2)==
Line 46: Line 46:
<categorytree mode="all" depth="5">3D Printing</categorytree>
<categorytree mode="all" depth="5">3D Printing</categorytree>
{{#categorytree:MRT Meeting Minutes|depth=4|mode=all|showcount}}
{{#categorytree:MRT Meeting Minutes|depth=4|mode=all|showcount}}
==Others==
== Others==
The following is copied from source of page https://en.wikipedia.org/wiki/Category:Contents.
The following is copied from source of page https://en.wikipedia.org/wiki/Category:Contents.
----
----
Line 58: Line 58:
This is the '''top level''' of [[Wikipedia:About|Wikipedia]]'s [[Wikipedia:Categorization|category system]] (which is why it has no parent category). Its subcategories contain various types of encyclopaedic content (i.e. [[:Category:Articles|articles]]), content that assists with the navigation of the encyclopaedia (e.g. [[:Category:Portals|portals]]), as well as pages related to maintaining and collaborating on the encyclopaedia (e.g. [[Wikipedia:Administration|Wikipedia administration]] and [[Wikipedia:WikiProjects|WikiProjects]]).</nowiki><br><nowiki>
This is the '''top level''' of [[Wikipedia:About|Wikipedia]]'s [[Wikipedia:Categorization|category system]] (which is why it has no parent category). Its subcategories contain various types of encyclopaedic content (i.e. [[:Category:Articles|articles]]), content that assists with the navigation of the encyclopaedia (e.g. [[:Category:Portals|portals]]), as well as pages related to maintaining and collaborating on the encyclopaedia (e.g. [[Wikipedia:Administration|Wikipedia administration]] and [[Wikipedia:WikiProjects|WikiProjects]]).</nowiki><br><nowiki>
</nowiki><br><nowiki>
</nowiki><br><nowiki>
<!-- do not add any categories here -->
</nowiki>
</nowiki>
----
----
Line 71: Line 69:


This is the '''top level''' of [[Wikipedia:About|Wikipedia]]'s [[Wikipedia:Categorization|category system]] (which is why it has no parent category). Its subcategories contain various types of encyclopaedic content (i.e. [[:Category:Articles|articles]]), content that assists with the navigation of the encyclopaedia (e.g. [[:Category:Portals|portals]]), as well as pages related to maintaining and collaborating on the encyclopaedia (e.g. [[Wikipedia:Administration|Wikipedia administration]] and [[Wikipedia:WikiProjects|WikiProjects]]).
This is the '''top level''' of [[Wikipedia:About|Wikipedia]]'s [[Wikipedia:Categorization|category system]] (which is why it has no parent category). Its subcategories contain various types of encyclopaedic content (i.e. [[:Category:Articles|articles]]), content that assists with the navigation of the encyclopaedia (e.g. [[:Category:Portals|portals]]), as well as pages related to maintaining and collaborating on the encyclopaedia (e.g. [[Wikipedia:Administration|Wikipedia administration]] and [[Wikipedia:WikiProjects|WikiProjects]]).
<!-- do not add any categories here -->
----
----
Note that the "Template:..." lines, and a couple of other referencees, are red, indicating that the referenced pages do not yet exist. That is because this is the RCGRS wiki site. They do exist on the Wikipedia site, but not here. To see the actual Wikipedia page, and view its actual source from there, click the link at the begining of this section. Also, note the syntax of the references in the source; it is done with transclusion, so the actual page as displayed appears a little differently than just the source text would imply.
Note that the "Template:..." lines, and a couple of other referencees, are red, indicating that the referenced pages do not yet exist. That is because this is the RCGRS wiki site. They do exist on the Wikipedia site, but not here. To see the actual Wikipedia page, and view its actual source from there, click the link at the begining of this section. Also, note the syntax of the references in the source; it is done with transclusion, so the actual page as displayed appears a little differently than just the source text would imply.
----
=Include a YouTube reference=
A simple link to a YouTube video: [https://youtu.be/peGN_RN7JgA 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.<br>
I tried putting in some HTML that embeds the video in this page.<br><span style="color:purple"><nowiki><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></nowiki></span><br>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 [mailto:MRT-SIG@RCGRS.com 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 [mailto:MRT-SIG-Members@RCGRS.com MRT-SIG-Members@RCGRS.com] address.
----Playing with
=Section headings with anchor=
=Section headings with anchor=


Line 104: Line 85:
----
----
=Creating a table with special formatting=
=Creating a table with special formatting=
The following was copied from the [https://mediawiki.org/wiki/Help:Links 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. <span style="font-family:'Times New Roman'; color:green;">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.</span>
See [https://mediawiki.org/wiki/Help:Links Help:Tables] help page.
{| class="wikitable" border="1"
!<translate><!--T:116--> Name</translate>/<translate><!--T:6--> Description</translate>
!<translate><!--T:117--> Syntax</translate>
!<translate><!--T:118--> Result</translate>
|-
|<translate><!--T:17--> Link to an anchor on the same page</translate>
|<syntaxhighlight lang="moin">[[#See also]]</syntaxhighlight>
<translate><!--T:77--> 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><code><nowiki>[[#top]]</nowiki></code></tvar>) of the page.</translate>
|[[#See also]]
 
|-
|<translate><!--T:19--> Setting an anchor for incoming links</translate>
|<syntaxhighlight lang=html>
<div id="Unique anchor name 1">optional text</div>
 
<span id="Unique anchor name 2">optional text</span>
</syntaxhighlight>
 
<translate><!--T:92--> Rendered [[w:HTML element#Document body elements|block-level and inline]], respectively.</translate>
<translate><!--T:132--> Doing this would allow for <code><nowiki>[[#Unique anchor name 1]]</nowiki></code> on the same page or <code><nowiki>[[</nowiki>{{FULLPAGENAME}}#Unique anchor name 1]]</code> on a different page.</translate>
<translate><!--T:133--> Omit the "optional text" for an invisible anchor.</translate>
 
<translate>
<!--T:97-->
Setting an anchor in a section heading
</translate>
 
<syntaxhighlight lang=html>
==<span id="Alternate Section Title"></span>Section heading from source page==
</syntaxhighlight>
 
<translate><!--T:98--> Note the placement.</translate>
<translate><!--T:134--> This must be a "span" tag, not a "div".</translate>
<translate><!--T:135--> (Such anchors allow sections to be retitled without breaking incoming links.)</translate>
 
|
<div id="<translate nowrap><!--T:93--> Unique anchor name 1</translate>"><translate><!--T:94--> optional text</translate>
 
<span id="<translate nowrap><!--T:95--> Unique anchor name 2</translate>"><translate><!--T:96--> optional text</translate>
 
<div style="color: #000000; background: none; overflow: hidden; page-break-after: avoid; font-size: 1.5em; font-family: Georgia,Times,serif; margin-top: 1em; margin-bottom: 0.25em; line-height: 1.3; padding: 0; border-bottom: 1px solid #AAAAAA;"><span id="Alternate Section Title"></span>Section heading</div>
|-
|<translate><!--T:20--> 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><!--T:21--> Link to the current page's talk page</translate>
|<syntaxhighlight lang=moin>[[{{TALKPAGENAME}}|Discussion]]</syntaxhighlight>
<translate><!--T:22--> See also [[<tvar name=page-names>Special:MyLanguage/Help:Magic_words#Page_names</tvar>|Help:Magic words#Page names]]</translate>
|[[{{TALKPAGENAME}}|Discussion]]
 
|-
|{{anchor|Subpage_feature}}<translate><!--T:23--> Link to a subpage</translate>
|<syntaxhighlight lang=moin>[[/example]]</syntaxhighlight>
<translate><!--T:78--> Shortcut for <tvar name=1><syntaxhighlight lang="moin" inline>[[Help:Links/example|/example]]</syntaxhighlight></tvar>.</translate> <translate><!--T:122--> See also <tvar name=1>{{ll|Help:Subpages}}</tvar>.</translate>
|[[Help:Links/example|/example]]
 
|-
|<translate><!--T:24--> Link to a subpage without the leading slash</translate>
|<syntaxhighlight lang=moin>[[/example/]]</syntaxhighlight>
<translate><!--T:99--> Shortcut for <tvar name=1><syntaxhighlight lang="moin" inline>[[Help:Links/example|example]]</syntaxhighlight></tvar>.</translate>
|[[Help:Links/example|example]]
 
|-
| <translate><!--T:120--> Link to a subpage of parent page for current page.</translate> <translate><!--T:123--> Can only be used on subpages.</translate>
|<syntaxhighlight lang=moin>[[../example2]]</syntaxhighlight>
<translate><!--T:121--> Shortcut for <tvar name=1><syntaxhighlight lang="moin" inline>[[Help:Links/example2|example2]]</syntaxhighlight></tvar> if you post the link on <tvar name=2><syntaxhighlight lang="moin" inline>[[Help:Links/example|example]]</syntaxhighlight></tvar> page.</translate>
|[[Help:Links/example2|example2]]
 
|-
|<translate><!--T:25--> Visible link to a category page</translate>
|<syntaxhighlight lang=moin>[[:Category:Help]]</syntaxhighlight>
<translate><!--T:114--> 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><!--T:26--> See also <tvar name=1>{{ll|Help:Categories}}</tvar>.</translate>
|[[:Category:Help]]
 
|-
|<translate><!--T:27--> Visible link to an image or media file</translate>
| id="file-links" |<syntaxhighlight lang=moin>
[[:File:Example.jpg]]
 
[[:File:Example.jpg|file label]]
 
[[index.php?title=Media:Example.jpg|Media:Example.jpg]]
 
[[index.php?title=Media:Example.jpg|file label]]
</syntaxhighlight>
 
<translate><!--T:100--> Without the leading colon on the "File:" examples, the images would actually be displayed.</translate>
<translate><!--T:124--> See also <tvar name=1>{{ll|Help:Images}}</tvar>.</translate>
 
<translate>
<!--T:112-->
The <tvar name=1><code>Media:</code></tvar> prefix is used to link directly to the uploaded file, rather than the file-information page.</translate>
|
[[:File:Example.jpg]]
 
[[:File:Example.jpg|file label]]
 
[[index.php?title=Media:Example.jpg|Media:Example.jpg]]
 
[[index.php?title=Media:Example.jpg|file label]]
 
 
|-
|<translate><!--T:43--> Mailto link</translate>
|<pre>[mailto:info@example.org email me]</pre>
|[mailto:info@example.org email me]
 
|-
|<translate><!--T:44--> Mailto named with subject line and body</translate>
|<pre>[mailto:info@example.org?Subject=URL%20Encoded%20Subject&amp;body=Body%20Text info]</pre>
|[mailto:info@example.org?Subject=URL%20Encoded%20Subject&body=Body%20Text 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==
 
[[File:Create a page.gif]]
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..

Revision as of 12:01, 25 April 2023

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" above 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>

References and Footnotes

Inserting a reference: [1] Does not work right.

  1. Some reference here

Trying it is WYSIWG editor: <ref>Really does not work</ref> Leave the HTML alone (wraps in nowiki tag).

<references /> Let's try using a cite tag: Template:Cite {{cite}} Does not help either: Some citation
I need to do a lot more research in this.


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.

The "No wiki formatting" button in the toolbar above wraps selected text in the <nowiki></nowiki> tag. This results in the included text not being recognized as wiki commands. And I think not as HTML in some cases either. Still experimenting with that.


A subheading (level 2)

Category stuff

My testing

Others

The following is copied from source of page https://en.wikipedia.org/wiki/Category:Contents.


{{pp-protected|reason=Persistent [[WP:Disruptive editing|disruptive editing]]: new accounts don't need to edit this|small=yes|category=no}}
{{Container category|nocat=true}}
{{Wikipedia category|shortcut1=CAT:|shortcut2=CAT:CONT|shortcut3=CAT:CONTENTS}}
{{For|an overview of the content of Wikipedia|Wikipedia:Contents}}
{{See also|Category:Wikipedia pageviews|Category:Wikipedia navigation|Category:Wikipedia administration}}

This is the '''top level''' of [[Wikipedia:About|Wikipedia]]'s [[Wikipedia:Categorization|category system]] (which is why it has no parent category). Its subcategories contain various types of encyclopaedic content (i.e. [[:Category:Articles|articles]]), content that assists with the navigation of the encyclopaedia (e.g. [[:Category:Portals|portals]]), as well as pages related to maintaining and collaborating on the encyclopaedia (e.g. [[Wikipedia:Administration|Wikipedia administration]] and [[Wikipedia:WikiProjects|WikiProjects]]).


Which results in the following:


Template:Pp-protected
Template:Container category
Template:Wikipedia category
Template:For
Template:See also

This is the top level of Wikipedia's category system (which is why it has no parent category). Its subcategories contain various types of encyclopaedic content (i.e. articles), content that assists with the navigation of the encyclopaedia (e.g. portals), as well as pages related to maintaining and collaborating on the encyclopaedia (e.g. Wikipedia administration and WikiProjects).


Note that the "Template:..." lines, and a couple of other referencees, are red, indicating that the referenced pages do not yet exist. That is because this is the RCGRS wiki site. They do exist on the Wikipedia site, but not here. To see the actual Wikipedia page, and view its actual source from there, click the link at the begining of this section. Also, note the syntax of the references in the source; it is done with transclusion, so the actual page as displayed appears a little differently than just the source text would imply.

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

See Help:Tables help page.