Template:ArtifactWidgetData

From LostRing

(Difference between revisions)
Jump to: navigation, search
Revision as of 00:54, 19 March 2008 (edit)
Thebruce (Talk | contribs)
m
← Previous diff
Current revision (13:47, 19 March 2008) (edit) (undo)
Thebruce (Talk | contribs)
m
 
(35 intermediate revisions not shown.)
Line 1: Line 1:
-{{#switch:{{{item}}}+If you're uncertain of how to proceed in editing this page, inform someone who you feel would be more certain.
-|1A=+<nowiki>
-{{#if:{{{var}}}|city|Cardiff|{{#switch:{{{var}}}-page{{{page}}}+*** Example template below for artifact "1A"
 +*** replace the artifact code, page's "#", and any **VARIABLE** with values
 +|1A={{#ifeq:{{{var}}}|city|**CITYNAME**|{{#switch:{{{var}}}-page{{{page}}}
 +|title-page#=**PAGE TITLE**
 +|image-page#=**PAGEIMAGE.JPG**
 +|languagelinks-page#=
 +{{ArtifactWidgetLanguage|**CITYNAME**|{{{item}}}|{{{page}}}|{{{format}}}|**PIPE|DELIMITED|LIST|OF|LANGUAGES**}}
 +}}}}
 +
 +*** repeat previous lines from "|title..." to second last line for each artifact page (see existing blocks below for examples.</nowiki>
 +<onlyinclude>{{#switch:{{{item}}}
 +
 +|1A={{#ifeq:{{{var}}}|city|Cardiff|{{#switch:{{{var}}}-page{{{page}}}
|title-page1=Message from Jorge's six |title-page1=Message from Jorge's six
|image-page1=what_I_found_page1.jpg |image-page1=what_I_found_page1.jpg
|languagelinks-page1= |languagelinks-page1=
-{{ArtifactWidget|language=Esperanto|parentpage=Language|item={{{item}}}|page={{{page}}}|format={{{format}}}}}+{{ArtifactWidgetLanguage|Cardiff|{{{item}}}|{{{page}}}|{{{format}}}|English|Esperanto|français|português}}
-{{ArtifactWidget|language=English|parentpage=Language|item={{{item}}}|page={{{page}}}|format={{{format}}}}}+
- +
|title-page2="Six Ancient Strengths" |title-page2="Six Ancient Strengths"
|image-page2=what_I_found_page2.jpg |image-page2=what_I_found_page2.jpg
|languagelinks-page2= |languagelinks-page2=
-{{ArtifactWidget|language=Esperanto|parentpage=Language|item={{{item}}}|page={{{page}}}|format={{{format}}}}}+{{ArtifactWidgetLanguage|Cardiff|{{{item}}}|{{{page}}}|{{{format}}}|Esperanto|English|français|português|Nederlands|Deutsch}}
-{{ArtifactWidget|language=English|parentpage=Language|item={{{item}}}|page={{{page}}}|format={{{format}}}}}+}}}}
-}}+
-}}+
-|<!--blank default item switch-->+|1B={{#ifeq:{{{var}}}|city|Austin|{{#switch:{{{var}}}-page{{{page}}}
 +|title-page1="The 6 Travellers" ch.2 (1/2)
 +|image-page1=CotLR-1Bp1.jpg
 +|languagelinks-page1=
 +{{ArtifactWidgetLanguage|Austin|{{{item}}}|{{{page}}}|{{{format}}}|Esperanto|English|français}}
 +|title-page2="The 6 Travellers" ch.2 (2/2)
 +|image-page2=CotLR-1Bp2.jpg
 +|languagelinks-page2=
 +{{ArtifactWidgetLanguage|Austin|{{{item}}}|{{{page}}}|{{{format}}}|Esperanto|English|français}}
 +}}}}
 + 
 +|2A={{#ifeq:{{{var}}}|city|Stockholm|{{#switch:{{{var}}}-page{{{page}}}
 +|title-page1="The Secret Ringmasters" ch.3 (1/2)
 +|image-page1=CotLR-2Ap1.jpg
 +|languagelinks-page1=
 +{{ArtifactWidgetLanguage|Stockholm|{{{item}}}|{{{page}}}|{{{format}}}|Esperanto|English}}
 +|title-page2="The Secret Ringmasters" ch.3 (2/2)
 +|image-page2=CotLR-2Ap2.jpg
 +|languagelinks-page2=
 +{{ArtifactWidgetLanguage|Stockholm|{{{item}}}|{{{page}}}|{{{format}}}|Esperanto|English}}
 +}}}}
 + 
 +|3A={{#ifeq:{{{var}}}|city|Shanghai|{{#switch:{{{var}}}-page{{{page}}}
 +|title-page1="Finding space for the labyrinth" ch.4
 +|image-page1=CotLR-3Ap1.jpg
 +|languagelinks-page1=
 +{{ArtifactWidgetLanguage|Shanghai|{{{item}}}|{{{page}}}|{{{format}}}|Esperanto|English}}
 +}}}}
 + 
 +|#default={{#ifeq:{{{var}}}|city|unlisted|{{#switch:{{{var}}}
 +|title=[http://olympics.wikibruce.com/index.php?title=Template:ArtifactWidgetData&action=edit Untitled]
 +|image=blank.gif
 +|languagelinks=
 +[http://olympics.wikibruce.com/index.php?title=Template:ArtifactWidgetData&action=edit (undefined)]
 +}}}}
}} }}
 +</onlyinclude>
 +
 +For straight reference, the format of each page block in wikicode, in case of wanting to revert, is:<nowiki>
 +
 +'''(( TITLE ))'''<br>
 +[[Image:(( FILENAME.JPG ))|100px]]<br>
 +Found in [[Artifacts#(( CITY ))|(( CITY ))]]<br>
 +'''[[Codex-(( "CITY-p#" OR "CODEp#" ))#(( LANGUAGE ))|(( READ IN LANGUAGE ))]]'''<br>
 +
 +eg:
 +
 +'''"Page name" ch.42'''<br>
 +[[Image:CotLR-4Xp1|100px]]<br>
 +Found in [[Artifacts#MyCity|MyCity]]<br>
 +'''[[Codex-MyCity#English|Read in English]]'''<br>
 +'''[[Codex-4Xp1#Esperanto|Legi en Esperanto]]'''<br>

Current revision

If you're uncertain of how to proceed in editing this page, inform someone who you feel would be more certain. *** Example template below for artifact "1A" *** replace the artifact code, page's "#", and any **VARIABLE** with values |1A={{#ifeq:{{{var}}}|city|**CITYNAME**|{{#switch:{{{var}}}-page{{{page}}} |title-page#=**PAGE TITLE** |image-page#=**PAGEIMAGE.JPG** |languagelinks-page#= {{ArtifactWidgetLanguage|**CITYNAME**|{{{item}}}|{{{page}}}|{{{format}}}|**PIPE|DELIMITED|LIST|OF|LANGUAGES**}} }}}} *** repeat previous lines from "|title..." to second last line for each artifact page (see existing blocks below for examples.


For straight reference, the format of each page block in wikicode, in case of wanting to revert, is: '''(( TITLE ))'''<br> [[Image:(( FILENAME.JPG ))|100px]]<br> Found in [[Artifacts#(( CITY ))|(( CITY ))]]<br> '''[[Codex-(( "CITY-p#" OR "CODEp#" ))#(( LANGUAGE ))|(( READ IN LANGUAGE ))]]'''<br> eg: '''"Page name" ch.42'''<br> [[Image:CotLR-4Xp1|100px]]<br> Found in [[Artifacts#MyCity|MyCity]]<br> '''[[Codex-MyCity#English|Read in English]]'''<br> '''[[Codex-4Xp1#Esperanto|Legi en Esperanto]]'''<br>

Personal tools
[Support Wikibruce]
Wikibruce