Tripwire Interactive Wiki talk:Community portal: Difference between revisions

From Tripwire Interactive Wiki
Jump to navigation Jump to search
mNo edit summary
(→‎Word-wrapping code: new section)
Line 29: Line 29:


{{Template:RO2Weapons}}
{{Template:RO2Weapons}}
== Word-wrapping code ==
Here's a way to show a block of word-wrapped code:
<pre>
&lt;pre style="font-size:1em;white-space:pre-wrap;word-wrap:break-word;tab-size: 4;"&gt;
for ( m = 0; m < AmmoPickups.Length ; m++ )
{
AmmoPickups[m].GotoState('Sleeping', 'Begiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiin');
}
&lt;/pre&gt;</pre>
Produces:
<pre style="font-size:1em;white-space:pre-wrap;word-wrap:break-word;tab-size: 4;">
for ( m = 0; m < AmmoPickups.Length ; m++ )
{
AmmoPickups[m].GotoState('Sleeping', 'Begiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiin');
}
</pre>

Revision as of 16:31, 24 October 2012

Templates

I'm not entirely sure how these wikis work, but could we get some templates (such as stub) installed here? --Benjamin (talk) 07:41, 22 September 2012 (EDT)

Success! I've added Template:Stub which can be used by putting {{Stub}} at the top of your page. The template could do with some adjusting but it'll do for now.--Benjamin (talk) 09:03, 22 September 2012 (EDT)

Awesome template! --Yoshiro (talk)

UScript tags

I've noticed that the BeyondUnreal wiki has <uscript> ... </uscript> tags providing syntax highlighting. Any chance of seeing this here? :) --Benjamin (talk) 08:36, 22 September 2012 (EDT)

If you find us something that we can use for this, pass it on to me. Right now I am not aware of any plugins for it. --Yoshiro (talk)

External links

Can we get external links opening in a separate tab please? --Benjamin (talk) 10:04, 23 September 2012 (EDT)

Weapon/perk/specimen pages

I've given a little start to the weapon pages, beginning with Syringe. I've made a basic template for inventory items (weapons, tools, etc.) and hopefully someone will expand it. If not I'll give it some work myself at some point.--Benjamin (talk) 22:22, 5 October 2012 (EDT)

Phew, I've uploaded all the images (they aren't the best quality and will need to be re-done at some point) and created a page for all the weapons, and filled in the stats. I've created a new template for the purpose, as well as creating a template to contain a list of perks/weapons at the bottom of each weapon page. Enjoy --Benjamin (talk) 19:15, 7 October 2012 (EDT)

RO2

Added a weapons box template for RO2 and added it to the bottom of each weapon page. If someone could give me a list of stats of each weapon (perhaps generated with something similar to KFStatOutput) I'd gladly fill out statistics on each page. --Benjamin (talk) 22:15, 13 October 2012 (EDT)

Red Orchestra 2 weapons
Type Weapons
Bolt-action Rifles Mauser Kar98k, M1891/30_Rifle
Sub-Machine Guns MP 40, PPSh-41
Automatic and Assault Rifles SVT-40, AVT-40, G 41(W), MKb 42(H)
Machine Guns and Anti-Tank Rifles DP-28 LMG, MG 34 LMG, PTRS-1941, PZB 784(R)
Pistols Mauser C96, TT-33 Pistol, P 38 Pistol, Nagant M1895
Grenades and Explosives F-1 Frag Grenade, Model 24 Stielhandgranate, RPG40 AT-Grenade, HHL3 AT-Grenade, RDG1 Smoke-grenade, NG39 Smoke-grenade, Satchel Charges
Tanks T-34/76, Panzerkampfwagen IV G

Word-wrapping code

Here's a way to show a block of word-wrapped code:

<pre style="font-size:1em;white-space:pre-wrap;word-wrap:break-word;tab-size: 4;">
for ( m = 0; m < AmmoPickups.Length ; m++ )
{
	AmmoPickups[m].GotoState('Sleeping', 'Begiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiin');
}
</pre>

Produces:

for ( m = 0; m < AmmoPickups.Length ; m++ )
{
	AmmoPickups[m].GotoState('Sleeping', 'Begiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiin');
}